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