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