pub struct PauseSnapshot {
pub paused: bool,
pub until_epoch_secs: Option<u64>,
}Fields§
§paused: bool§until_epoch_secs: Option<u64>Trait Implementations§
Source§impl Clone for PauseSnapshot
impl Clone for PauseSnapshot
Source§fn clone(&self) -> PauseSnapshot
fn clone(&self) -> PauseSnapshot
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 PauseSnapshot
impl Debug for PauseSnapshot
Source§impl Default for PauseSnapshot
impl Default for PauseSnapshot
Source§fn default() -> PauseSnapshot
fn default() -> PauseSnapshot
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PauseSnapshotwhere
PauseSnapshot: Default,
impl<'de> Deserialize<'de> for PauseSnapshotwhere
PauseSnapshot: Default,
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
Auto Trait Implementations§
impl Freeze for PauseSnapshot
impl RefUnwindSafe for PauseSnapshot
impl Send for PauseSnapshot
impl Sync for PauseSnapshot
impl Unpin for PauseSnapshot
impl UnsafeUnpin for PauseSnapshot
impl UnwindSafe for PauseSnapshot
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<'de, D, R> CommandArg<'de, R> for Dwhere
D: Deserialize<'de>,
R: Runtime,
impl<'de, D, R> CommandArg<'de, R> for Dwhere
D: Deserialize<'de>,
R: Runtime,
§fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.