pub struct ApiListGroupsBuilder<S = Empty>where
S: State,{ /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S> ApiListGroupsBuilder<S>where
S: State,
impl<S> ApiListGroupsBuilder<S>where
S: State,
Sourcepub fn build(self) -> ApiListGroupswhere
S: IsComplete,
pub fn build(self) -> ApiListGroupswhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn user_id(self, value: i64) -> ApiListGroupsBuilder<SetUserId<S>>where
<S as State>::UserId: IsUnset,
pub fn user_id(self, value: i64) -> ApiListGroupsBuilder<SetUserId<S>>where
<S as State>::UserId: IsUnset,
Required.
Sourcepub fn contact_id(self, value: i64) -> ApiListGroupsBuilder<SetContactId<S>>where
<S as State>::ContactId: IsUnset,
pub fn contact_id(self, value: i64) -> ApiListGroupsBuilder<SetContactId<S>>where
<S as State>::ContactId: IsUnset,
Sourcepub fn maybe_contact_id(
self,
value: Option<i64>,
) -> ApiListGroupsBuilder<SetContactId<S>>where
<S as State>::ContactId: IsUnset,
pub fn maybe_contact_id(
self,
value: Option<i64>,
) -> ApiListGroupsBuilder<SetContactId<S>>where
<S as State>::ContactId: IsUnset,
Sourcepub fn search(self, value: String) -> ApiListGroupsBuilder<SetSearch<S>>where
<S as State>::Search: IsUnset,
pub fn search(self, value: String) -> ApiListGroupsBuilder<SetSearch<S>>where
<S as State>::Search: IsUnset,
Sourcepub fn maybe_search(
self,
value: Option<String>,
) -> ApiListGroupsBuilder<SetSearch<S>>where
<S as State>::Search: IsUnset,
pub fn maybe_search(
self,
value: Option<String>,
) -> ApiListGroupsBuilder<SetSearch<S>>where
<S as State>::Search: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for ApiListGroupsBuilder<S>
impl<S> RefUnwindSafe for ApiListGroupsBuilder<S>
impl<S> Send for ApiListGroupsBuilder<S>
impl<S> Sync for ApiListGroupsBuilder<S>
impl<S> Unpin for ApiListGroupsBuilder<S>
impl<S> UnsafeUnpin for ApiListGroupsBuilder<S>
impl<S> UnwindSafe for ApiListGroupsBuilder<S>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more