pub struct PauseState {
pub paused: bool,
pub recovery_required: bool,
pub capture_unavailable: Option<String>,
}Expand description
Host-confirmed resident suspension state.
Fields§
§paused: boolWhether a user pause is currently held.
recovery_required: boolWhether recovery owns a suspension that ordinary resume must not release.
Why full capture cannot use this pause.
Trait Implementations§
Source§impl Clone for PauseState
impl Clone for PauseState
Source§impl Debug for PauseState
impl Debug for PauseState
Source§impl<'de> Deserialize<'de> for PauseState
impl<'de> Deserialize<'de> for PauseState
Source§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
impl Eq for PauseState
Source§impl PartialEq for PauseState
impl PartialEq for PauseState
Source§impl Serialize for PauseState
impl Serialize for PauseState
impl StructuralPartialEq for PauseState
Auto Trait Implementations§
impl Freeze for PauseState
impl RefUnwindSafe for PauseState
impl Send for PauseState
impl Sync for PauseState
impl Unpin for PauseState
impl UnsafeUnpin for PauseState
impl UnwindSafe for PauseState
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