pub struct SetForAccount<S: State = Empty>(/* private fields */);Expand description
State transition - sets the for_account field to Set
Trait Implementations§
Source§impl<S: State> State for SetForAccount<S>
impl<S: State> State for SetForAccount<S>
type Code = <S as State>::Code
type Available = <S as State>::Available
type Disabled = <S as State>::Disabled
type ForAccount = Set<for_account>
type CreatedBy = <S as State>::CreatedBy
type CreatedAt = <S as State>::CreatedAt
type Uses = <S as State>::Uses
Auto Trait Implementations§
impl<S> Freeze for SetForAccount<S>
impl<S> RefUnwindSafe for SetForAccount<S>
impl<S> Send for SetForAccount<S>
impl<S> Sync for SetForAccount<S>
impl<S> Unpin for SetForAccount<S>
impl<S> UnwindSafe for SetForAccount<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