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