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