Struct jyve::request::reviews_list::ReviewsListRequest
source · pub struct ReviewsListRequest<'a> {Show 21 fields
pub created_at_gte: Option<String>,
pub created_at_lt: Option<String>,
pub created_at_lte: Option<String>,
pub escalation_statuses: Option<String>,
pub escalation_statuses_or_status: Option<String>,
pub id: Option<f64>,
pub ids: Option<String>,
pub local_created_at_gte: Option<String>,
pub local_created_at_lt: Option<String>,
pub local_responses_created_at_gte: Option<String>,
pub local_responses_created_at_lt: Option<String>,
pub object_id: Option<f64>,
pub only_active: Option<String>,
pub ordering: Option<String>,
pub page: Option<i64>,
pub page_size: Option<i64>,
pub responses_created_at_gte: Option<String>,
pub responses_created_at_lt: Option<String>,
pub responses_created_at_lte: Option<String>,
pub status: Option<String>,
pub statuses: Option<String>,
/* private fields */
}
Expand description
Create this with the associated client method.
That method takes required values as arguments. Set optional values using builder methods on this struct.
Fields§
§created_at_gte: Option<String>
§created_at_lt: Option<String>
§created_at_lte: Option<String>
§escalation_statuses: Option<String>
§escalation_statuses_or_status: Option<String>
§id: Option<f64>
§ids: Option<String>
§local_created_at_gte: Option<String>
§local_created_at_lt: Option<String>
§local_responses_created_at_gte: Option<String>
§local_responses_created_at_lt: Option<String>
§object_id: Option<f64>
§only_active: Option<String>
§ordering: Option<String>
§page: Option<i64>
§page_size: Option<i64>
§responses_created_at_gte: Option<String>
§responses_created_at_lt: Option<String>
§responses_created_at_lte: Option<String>
§status: Option<String>
§statuses: Option<String>
Implementations§
source§impl<'a> ReviewsListRequest<'a>
impl<'a> ReviewsListRequest<'a>
pub async fn send(self) -> InMemoryResult<Vec<Review>>
pub fn created_at_gte(self, created_at_gte: &str) -> Self
pub fn created_at_lt(self, created_at_lt: &str) -> Self
pub fn created_at_lte(self, created_at_lte: &str) -> Self
pub fn escalation_statuses(self, escalation_statuses: &str) -> Self
pub fn escalation_statuses_or_status( self, escalation_statuses_or_status: &str ) -> Self
pub fn id(self, id: f64) -> Self
pub fn ids(self, ids: &str) -> Self
pub fn local_created_at_gte(self, local_created_at_gte: &str) -> Self
pub fn local_created_at_lt(self, local_created_at_lt: &str) -> Self
pub fn local_responses_created_at_gte( self, local_responses_created_at_gte: &str ) -> Self
pub fn local_responses_created_at_lt( self, local_responses_created_at_lt: &str ) -> Self
pub fn object_id(self, object_id: f64) -> Self
pub fn only_active(self, only_active: &str) -> Self
pub fn ordering(self, ordering: &str) -> Self
pub fn page(self, page: i64) -> Self
pub fn page_size(self, page_size: i64) -> Self
pub fn responses_created_at_gte(self, responses_created_at_gte: &str) -> Self
pub fn responses_created_at_lt(self, responses_created_at_lt: &str) -> Self
pub fn responses_created_at_lte(self, responses_created_at_lte: &str) -> Self
pub fn status(self, status: &str) -> Self
pub fn statuses(self, statuses: &str) -> Self
Trait Implementations§
source§impl<'a> Clone for ReviewsListRequest<'a>
impl<'a> Clone for ReviewsListRequest<'a>
source§fn clone(&self) -> ReviewsListRequest<'a>
fn clone(&self) -> ReviewsListRequest<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> IntoFuture for ReviewsListRequest<'a>
impl<'a> IntoFuture for ReviewsListRequest<'a>
§type Output = Result<Vec<Review, Global>, Error<Response<InMemoryBody>>>
type Output = Result<Vec<Review, Global>, Error<Response<InMemoryBody>>>
The output that the future will produce on completion.
§type IntoFuture = Pin<Box<dyn Future<Output = <ReviewsListRequest<'a> as IntoFuture>::Output> + Send + 'a, Global>>
type IntoFuture = Pin<Box<dyn Future<Output = <ReviewsListRequest<'a> as IntoFuture>::Output> + Send + 'a, Global>>
Which kind of future are we turning this into?
source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ReviewsListRequest<'a>
impl<'a> Send for ReviewsListRequest<'a>
impl<'a> Sync for ReviewsListRequest<'a>
impl<'a> Unpin for ReviewsListRequest<'a>
impl<'a> !UnwindSafe for ReviewsListRequest<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more