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 Available = <St as State>::Available
type Code = Set<code>
type CreatedAt = <St as State>::CreatedAt
type CreatedBy = <St as State>::CreatedBy
type Disabled = <St as State>::Disabled
type ForAccount = <St as State>::ForAccount
type Uses = <St as State>::Uses
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