pub struct SleepAction {
pub seconds: i64,
}
Expand description
SleepAction describes a “sleep” action.
Fields§
§seconds: i64
Seconds is the number of seconds to sleep.
Trait Implementations§
Source§impl Clone for SleepAction
impl Clone for SleepAction
Source§fn clone(&self) -> SleepAction
fn clone(&self) -> SleepAction
Returns a copy 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 SleepAction
impl Debug for SleepAction
Source§impl DeepMerge for SleepAction
impl DeepMerge for SleepAction
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.Source§impl Default for SleepAction
impl Default for SleepAction
Source§fn default() -> SleepAction
fn default() -> SleepAction
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SleepAction
impl<'de> Deserialize<'de> for SleepAction
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
Source§impl PartialEq for SleepAction
impl PartialEq for SleepAction
Source§impl Serialize for SleepAction
impl Serialize for SleepAction
impl StructuralPartialEq for SleepAction
Auto Trait Implementations§
impl Freeze for SleepAction
impl RefUnwindSafe for SleepAction
impl Send for SleepAction
impl Sync for SleepAction
impl Unpin for SleepAction
impl UnwindSafe for SleepAction
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