pub struct TransitionRecord<S, E>{
pub from: S,
pub to: S,
pub event: E,
pub timestamp: Instant,
pub success: bool,
}Fields§
§from: S§to: S§event: E§timestamp: Instant§success: boolTrait Implementations§
Source§impl<S, E> Clone for TransitionRecord<S, E>
impl<S, E> Clone for TransitionRecord<S, E>
Source§fn clone(&self) -> TransitionRecord<S, E>
fn clone(&self) -> TransitionRecord<S, E>
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<S, E> Freeze for TransitionRecord<S, E>
impl<S, E> RefUnwindSafe for TransitionRecord<S, E>where
S: RefUnwindSafe,
E: RefUnwindSafe,
impl<S, E> Send for TransitionRecord<S, E>
impl<S, E> Sync for TransitionRecord<S, E>
impl<S, E> Unpin for TransitionRecord<S, E>
impl<S, E> UnwindSafe for TransitionRecord<S, E>where
S: UnwindSafe,
E: UnwindSafe,
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)