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