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