Struct StatusV1
pub struct StatusV1 {
pub wake_up_triggers: WakeUpTrigger,
pub power_state: PowerState,
pub in_transition: bool,
}Expand description
Power manager status.
Deprecated with the addition of Status::nxp_state.
Fields§
§wake_up_triggers: WakeUpTriggerActive wake up triggers.
power_state: PowerStatePower state.
in_transition: boolWhether the TCU is transitioning between power states.
This is true if the TCU is in the process of transitioning between
power states.
Trait Implementations§
§impl<'de> Deserialize<'de> for StatusV1
impl<'de> Deserialize<'de> for StatusV1
§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for StatusV1
impl RefUnwindSafe for StatusV1
impl Send for StatusV1
impl Sync for StatusV1
impl Unpin for StatusV1
impl UnwindSafe for StatusV1
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