pub struct SetCode<St: State = Empty>(/* private fields */);Expand description
State transition - sets the code field to Set
Trait Implementations§
Source§impl<St: State> State for SetCode<St>
impl<St: State> State for SetCode<St>
type Code = Set<code>
type ConvoId = <St as State>::ConvoId
type JoinRule = <St as State>::JoinRule
type MemberCount = <St as State>::MemberCount
type MemberLimit = <St as State>::MemberLimit
type Name = <St as State>::Name
type Owner = <St as State>::Owner
type RequireApproval = <St as State>::RequireApproval
Auto Trait Implementations§
impl<St> Freeze for SetCode<St>
impl<St> RefUnwindSafe for SetCode<St>
impl<St> Send for SetCode<St>
impl<St> Sync for SetCode<St>
impl<St> Unpin for SetCode<St>
impl<St> UnsafeUnpin for SetCode<St>
impl<St> UnwindSafe for SetCode<St>
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