Struct k8s_openapi::api::core::v1::SleepAction
source · 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§fn eq(&self, other: &SleepAction) -> bool
fn eq(&self, other: &SleepAction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SleepAction
impl Serialize for SleepAction
impl StructuralPartialEq for SleepAction
Auto Trait Implementations§
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