pub struct ListClientsBuilder {
limit: Option<Option<u32>>,
offset: Option<Option<u32>>,
state: Option<Option<ApiClientState>>,
name: Option<Option<String>>,
includes: Option<Vec<ReferenceExpansionResource>>,
/* private fields */
}
Expand description
Builder for ListClients
.
Fields§
§limit: Option<Option<u32>>
§offset: Option<Option<u32>>
§state: Option<Option<ApiClientState>>
§name: Option<Option<String>>
§includes: Option<Vec<ReferenceExpansionResource>>
Implementations§
Source§impl ListClientsBuilder
impl ListClientsBuilder
pub fn limit<VALUE: Into<u32>>(&mut self, value: VALUE) -> &mut Self
pub fn offset<VALUE: Into<u32>>(&mut self, value: VALUE) -> &mut Self
pub fn state<VALUE: Into<ApiClientState>>(&mut self, value: VALUE) -> &mut Self
pub fn name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn includes<VALUE: Into<Vec<ReferenceExpansionResource>>>( &mut self, value: VALUE, ) -> &mut Self
Sourcepub fn build(&self) -> Result<ListClients, BuilderError>
pub fn build(&self) -> Result<ListClients, BuilderError>
Sourcefn create_empty() -> Self
fn create_empty() -> Self
Create an empty builder, with all fields set to None
or PhantomData
.
Source§impl ListClientsBuilder
impl ListClientsBuilder
pub async fn send(&self) -> ApiClientListResponse
Trait Implementations§
Source§impl Clone for ListClientsBuilder
impl Clone for ListClientsBuilder
Source§fn clone(&self) -> ListClientsBuilder
fn clone(&self) -> ListClientsBuilder
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 moreAuto Trait Implementations§
impl Freeze for ListClientsBuilder
impl !RefUnwindSafe for ListClientsBuilder
impl !Send for ListClientsBuilder
impl !Sync for ListClientsBuilder
impl Unpin for ListClientsBuilder
impl !UnwindSafe for ListClientsBuilder
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