pub struct StateTransitionEvent {
pub previous_state: Option<UpdateState>,
pub new_state: Option<UpdateState>,
pub reason: Option<ChangeReason>,
pub target_software_version: Option<u32>,
}Fields§
§previous_state: Option<UpdateState>§new_state: Option<UpdateState>§reason: Option<ChangeReason>§target_software_version: Option<u32>Trait Implementations§
Source§impl Debug for StateTransitionEvent
impl Debug for StateTransitionEvent
Auto Trait Implementations§
impl Freeze for StateTransitionEvent
impl RefUnwindSafe for StateTransitionEvent
impl Send for StateTransitionEvent
impl Sync for StateTransitionEvent
impl Unpin for StateTransitionEvent
impl UnwindSafe for StateTransitionEvent
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