Struct jyve::request::deliveries_list::DeliveriesListRequest
source · pub struct DeliveriesListRequest<'a> {Show 17 fields
pub arrival_time_gt: Option<String>,
pub arrival_time_gte: Option<String>,
pub arrival_time_lt: Option<String>,
pub arrival_time_lte: Option<String>,
pub date_completed_gt: Option<String>,
pub date_completed_gte: Option<String>,
pub date_completed_lt: Option<String>,
pub date_completed_lte: Option<String>,
pub has_been_completed: Option<String>,
pub id: Option<f64>,
pub ids: Option<String>,
pub ordering: Option<String>,
pub page: Option<i64>,
pub page_size: Option<i64>,
pub store_groups: Option<String>,
pub store_location: Option<f64>,
pub store_locations: 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§
§arrival_time_gt: Option<String>
§arrival_time_gte: Option<String>
§arrival_time_lt: Option<String>
§arrival_time_lte: Option<String>
§date_completed_gt: Option<String>
§date_completed_gte: Option<String>
§date_completed_lt: Option<String>
§date_completed_lte: Option<String>
§has_been_completed: Option<String>
§id: Option<f64>
§ids: Option<String>
§ordering: Option<String>
§page: Option<i64>
§page_size: Option<i64>
§store_groups: Option<String>
§store_location: Option<f64>
§store_locations: Option<String>
Implementations§
source§impl<'a> DeliveriesListRequest<'a>
impl<'a> DeliveriesListRequest<'a>
pub async fn send(self) -> InMemoryResult<Vec<Delivery>>
pub fn arrival_time_gt(self, arrival_time_gt: &str) -> Self
pub fn arrival_time_gte(self, arrival_time_gte: &str) -> Self
pub fn arrival_time_lt(self, arrival_time_lt: &str) -> Self
pub fn arrival_time_lte(self, arrival_time_lte: &str) -> Self
pub fn date_completed_gt(self, date_completed_gt: &str) -> Self
pub fn date_completed_gte(self, date_completed_gte: &str) -> Self
pub fn date_completed_lt(self, date_completed_lt: &str) -> Self
pub fn date_completed_lte(self, date_completed_lte: &str) -> Self
pub fn has_been_completed(self, has_been_completed: &str) -> Self
pub fn id(self, id: f64) -> Self
pub fn ids(self, ids: &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 store_groups(self, store_groups: &str) -> Self
pub fn store_location(self, store_location: f64) -> Self
pub fn store_locations(self, store_locations: &str) -> Self
Trait Implementations§
source§impl<'a> Clone for DeliveriesListRequest<'a>
impl<'a> Clone for DeliveriesListRequest<'a>
source§fn clone(&self) -> DeliveriesListRequest<'a>
fn clone(&self) -> DeliveriesListRequest<'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 DeliveriesListRequest<'a>
impl<'a> IntoFuture for DeliveriesListRequest<'a>
§type Output = Result<Vec<Delivery, Global>, Error<Response<InMemoryBody>>>
type Output = Result<Vec<Delivery, Global>, Error<Response<InMemoryBody>>>
The output that the future will produce on completion.
§type IntoFuture = Pin<Box<dyn Future<Output = <DeliveriesListRequest<'a> as IntoFuture>::Output> + Send + 'a, Global>>
type IntoFuture = Pin<Box<dyn Future<Output = <DeliveriesListRequest<'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 DeliveriesListRequest<'a>
impl<'a> Send for DeliveriesListRequest<'a>
impl<'a> Sync for DeliveriesListRequest<'a>
impl<'a> Unpin for DeliveriesListRequest<'a>
impl<'a> !UnwindSafe for DeliveriesListRequest<'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