pub struct GroupUpdatedBuilder<S = Empty>where
S: State,{ /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S> GroupUpdatedBuilder<S>where
S: State,
impl<S> GroupUpdatedBuilder<S>where
S: State,
Sourcepub fn build(self) -> GroupUpdatedwhere
S: IsComplete,
pub fn build(self) -> GroupUpdatedwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn user(self, value: User) -> GroupUpdatedBuilder<SetUser<S>>where
<S as State>::User: IsUnset,
pub fn user(self, value: User) -> GroupUpdatedBuilder<SetUser<S>>where
<S as State>::User: IsUnset,
Required.
Sourcepub fn from_group(
self,
value: GroupInfo,
) -> GroupUpdatedBuilder<SetFromGroup<S>>where
<S as State>::FromGroup: IsUnset,
pub fn from_group(
self,
value: GroupInfo,
) -> GroupUpdatedBuilder<SetFromGroup<S>>where
<S as State>::FromGroup: IsUnset,
Required.
Sourcepub fn to_group(self, value: GroupInfo) -> GroupUpdatedBuilder<SetToGroup<S>>where
<S as State>::ToGroup: IsUnset,
pub fn to_group(self, value: GroupInfo) -> GroupUpdatedBuilder<SetToGroup<S>>where
<S as State>::ToGroup: IsUnset,
Required.
Sourcepub fn member(self, value: GroupMember) -> GroupUpdatedBuilder<SetMember<S>>where
<S as State>::Member: IsUnset,
pub fn member(self, value: GroupMember) -> GroupUpdatedBuilder<SetMember<S>>where
<S as State>::Member: IsUnset,
Sourcepub fn maybe_member(
self,
value: Option<GroupMember>,
) -> GroupUpdatedBuilder<SetMember<S>>where
<S as State>::Member: IsUnset,
pub fn maybe_member(
self,
value: Option<GroupMember>,
) -> GroupUpdatedBuilder<SetMember<S>>where
<S as State>::Member: IsUnset,
Sourcepub fn msg_signed(
self,
value: MsgSigStatus,
) -> GroupUpdatedBuilder<SetMsgSigned<S>>where
<S as State>::MsgSigned: IsUnset,
pub fn msg_signed(
self,
value: MsgSigStatus,
) -> GroupUpdatedBuilder<SetMsgSigned<S>>where
<S as State>::MsgSigned: IsUnset,
Sourcepub fn maybe_msg_signed(
self,
value: Option<MsgSigStatus>,
) -> GroupUpdatedBuilder<SetMsgSigned<S>>where
<S as State>::MsgSigned: IsUnset,
pub fn maybe_msg_signed(
self,
value: Option<MsgSigStatus>,
) -> GroupUpdatedBuilder<SetMsgSigned<S>>where
<S as State>::MsgSigned: IsUnset,
Sourcepub fn undocumented(
self,
value: Value,
) -> GroupUpdatedBuilder<SetUndocumented<S>>where
<S as State>::Undocumented: IsUnset,
pub fn undocumented(
self,
value: Value,
) -> GroupUpdatedBuilder<SetUndocumented<S>>where
<S as State>::Undocumented: IsUnset,
Sourcepub fn maybe_undocumented(
self,
value: Option<Value>,
) -> GroupUpdatedBuilder<SetUndocumented<S>>where
<S as State>::Undocumented: IsUnset,
pub fn maybe_undocumented(
self,
value: Option<Value>,
) -> GroupUpdatedBuilder<SetUndocumented<S>>where
<S as State>::Undocumented: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for GroupUpdatedBuilder<S>
impl<S> RefUnwindSafe for GroupUpdatedBuilder<S>
impl<S> Send for GroupUpdatedBuilder<S>
impl<S> Sync for GroupUpdatedBuilder<S>
impl<S> Unpin for GroupUpdatedBuilder<S>
impl<S> UnsafeUnpin for GroupUpdatedBuilder<S>
impl<S> UnwindSafe for GroupUpdatedBuilder<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