pub struct ApiGroupLinkMemberRoleBuilder<S = Empty>where
S: State,{ /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S> ApiGroupLinkMemberRoleBuilder<S>where
S: State,
impl<S> ApiGroupLinkMemberRoleBuilder<S>where
S: State,
Sourcepub fn build(self) -> ApiGroupLinkMemberRolewhere
S: IsComplete,
pub fn build(self) -> ApiGroupLinkMemberRolewhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn group_id(
self,
value: i64,
) -> ApiGroupLinkMemberRoleBuilder<SetGroupId<S>>where
<S as State>::GroupId: IsUnset,
pub fn group_id(
self,
value: i64,
) -> ApiGroupLinkMemberRoleBuilder<SetGroupId<S>>where
<S as State>::GroupId: IsUnset,
Required.
Sourcepub fn member_role(
self,
value: GroupMemberRole,
) -> ApiGroupLinkMemberRoleBuilder<SetMemberRole<S>>where
<S as State>::MemberRole: IsUnset,
pub fn member_role(
self,
value: GroupMemberRole,
) -> ApiGroupLinkMemberRoleBuilder<SetMemberRole<S>>where
<S as State>::MemberRole: IsUnset,
Required.
Auto Trait Implementations§
impl<S> Freeze for ApiGroupLinkMemberRoleBuilder<S>
impl<S> RefUnwindSafe for ApiGroupLinkMemberRoleBuilder<S>
impl<S> Send for ApiGroupLinkMemberRoleBuilder<S>
impl<S> Sync for ApiGroupLinkMemberRoleBuilder<S>
impl<S> Unpin for ApiGroupLinkMemberRoleBuilder<S>
impl<S> UnsafeUnpin for ApiGroupLinkMemberRoleBuilder<S>
impl<S> UnwindSafe for ApiGroupLinkMemberRoleBuilder<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