pub struct PolicyAttached(pub PolicyAttachedData);Tuple Fields§
§0: PolicyAttachedDataTrait Implementations§
Source§impl CanTransitionMap<PolicyAttached> for Request<PetProfileAttached>
impl CanTransitionMap<PolicyAttached> for Request<PetProfileAttached>
Source§type CurrentData = <Request<PetProfileAttached> as DeclaredTransitionMapEdge<PolicyAttached>>::CurrentData
type CurrentData = <Request<PetProfileAttached> as DeclaredTransitionMapEdge<PolicyAttached>>::CurrentData
The payload type stored in the current state.
Source§type Output = Request<PolicyAttached>
type Output = Request<PolicyAttached>
The transition result type.
Source§fn transition_map<F>(self, f: F) -> Self::Outputwhere
F: FnOnce(Self::CurrentData) -> <PolicyAttached as StateMarker>::Data,
fn transition_map<F>(self, f: F) -> Self::Outputwhere
F: FnOnce(Self::CurrentData) -> <PolicyAttached as StateMarker>::Data,
Perform the transition by consuming the current state data and producing the next payload.
Source§impl Clone for PolicyAttached
impl Clone for PolicyAttached
Source§fn clone(&self) -> PolicyAttached
fn clone(&self) -> PolicyAttached
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PolicyAttached
impl Debug for PolicyAttached
Source§impl PartialEq for PolicyAttached
impl PartialEq for PolicyAttached
Source§impl RequestStateTrait for PolicyAttached
impl RequestStateTrait for PolicyAttached
type Data = PolicyAttachedData
Source§impl StateMarker for PolicyAttached
impl StateMarker for PolicyAttached
Source§type Data = PolicyAttachedData
type Data = PolicyAttachedData
The payload type stored in machines for this state.
impl DataState for PolicyAttached
impl Eq for PolicyAttached
impl StructuralPartialEq for PolicyAttached
Auto Trait Implementations§
impl Freeze for PolicyAttached
impl RefUnwindSafe for PolicyAttached
impl Send for PolicyAttached
impl Sync for PolicyAttached
impl Unpin for PolicyAttached
impl UnsafeUnpin for PolicyAttached
impl UnwindSafe for PolicyAttached
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