Struct jyve::request::brands_list::BrandsListRequest
source · pub struct BrandsListRequest<'a> {
pub id: Option<f64>,
pub ids: Option<String>,
pub is_active: Option<String>,
pub name: Option<String>,
pub page: Option<i64>,
pub page_size: Option<i64>,
/* 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§
§id: Option<f64>
§ids: Option<String>
§is_active: Option<String>
§name: Option<String>
§page: Option<i64>
§page_size: Option<i64>
Implementations§
source§impl<'a> BrandsListRequest<'a>
impl<'a> BrandsListRequest<'a>
pub async fn send(self) -> InMemoryResult<Vec<Brand>>
pub fn id(self, id: f64) -> Self
pub fn ids(self, ids: &str) -> Self
pub fn is_active(self, is_active: &str) -> Self
pub fn name(self, name: &str) -> Self
pub fn page(self, page: i64) -> Self
pub fn page_size(self, page_size: i64) -> Self
Trait Implementations§
source§impl<'a> Clone for BrandsListRequest<'a>
impl<'a> Clone for BrandsListRequest<'a>
source§fn clone(&self) -> BrandsListRequest<'a>
fn clone(&self) -> BrandsListRequest<'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 BrandsListRequest<'a>
impl<'a> IntoFuture for BrandsListRequest<'a>
§type Output = Result<Vec<Brand, Global>, Error<Response<InMemoryBody>>>
type Output = Result<Vec<Brand, Global>, Error<Response<InMemoryBody>>>
The output that the future will produce on completion.
§type IntoFuture = Pin<Box<dyn Future<Output = <BrandsListRequest<'a> as IntoFuture>::Output> + Send + 'a, Global>>
type IntoFuture = Pin<Box<dyn Future<Output = <BrandsListRequest<'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 BrandsListRequest<'a>
impl<'a> Send for BrandsListRequest<'a>
impl<'a> Sync for BrandsListRequest<'a>
impl<'a> Unpin for BrandsListRequest<'a>
impl<'a> !UnwindSafe for BrandsListRequest<'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