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