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