pub struct UsersListMarketManagersRequest<'a> {
pub email: Option<String>,
pub first_name: Option<String>,
pub full_name: Option<String>,
pub id: Option<f64>,
pub ids: Option<String>,
pub last_name: Option<String>,
pub ordering: Option<String>,
pub page: Option<i64>,
pub page_size: Option<i64>,
pub phone_number: Option<String>,
pub q: 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§
§email: Option<String>
§first_name: Option<String>
§full_name: Option<String>
§id: Option<f64>
§ids: Option<String>
§last_name: Option<String>
§ordering: Option<String>
§page: Option<i64>
§page_size: Option<i64>
§phone_number: Option<String>
§q: Option<String>
Implementations§
source§impl<'a> UsersListMarketManagersRequest<'a>
impl<'a> UsersListMarketManagersRequest<'a>
pub async fn send(self) -> InMemoryResult<Vec<User>>
pub fn email(self, email: &str) -> Self
pub fn first_name(self, first_name: &str) -> Self
pub fn full_name(self, full_name: &str) -> Self
pub fn id(self, id: f64) -> Self
pub fn ids(self, ids: &str) -> Self
pub fn last_name(self, last_name: &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 phone_number(self, phone_number: &str) -> Self
pub fn q(self, q: &str) -> Self
Trait Implementations§
source§impl<'a> Clone for UsersListMarketManagersRequest<'a>
impl<'a> Clone for UsersListMarketManagersRequest<'a>
source§fn clone(&self) -> UsersListMarketManagersRequest<'a>
fn clone(&self) -> UsersListMarketManagersRequest<'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 UsersListMarketManagersRequest<'a>
impl<'a> IntoFuture for UsersListMarketManagersRequest<'a>
§type Output = Result<Vec<User, Global>, Error<Response<InMemoryBody>>>
type Output = Result<Vec<User, Global>, Error<Response<InMemoryBody>>>
The output that the future will produce on completion.
§type IntoFuture = Pin<Box<dyn Future<Output = <UsersListMarketManagersRequest<'a> as IntoFuture>::Output> + Send + 'a, Global>>
type IntoFuture = Pin<Box<dyn Future<Output = <UsersListMarketManagersRequest<'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 UsersListMarketManagersRequest<'a>
impl<'a> Send for UsersListMarketManagersRequest<'a>
impl<'a> Sync for UsersListMarketManagersRequest<'a>
impl<'a> Unpin for UsersListMarketManagersRequest<'a>
impl<'a> !UnwindSafe for UsersListMarketManagersRequest<'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