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