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