Enum cm_types::Durability
source · pub enum Durability {
Transient,
SingleRun,
}
Expand description
The duration of child components in a collection. See Durability
.
Variants§
Trait Implementations§
source§impl Clone for Durability
impl Clone for Durability
source§fn clone(&self) -> Durability
fn clone(&self) -> Durability
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 Durability
impl Debug for Durability
source§impl<'de> Deserialize<'de> for Durability
impl<'de> Deserialize<'de> for Durability
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 From<Durability> for Durability
impl From<Durability> for Durability
source§fn from(input: Durability) -> Self
fn from(input: Durability) -> Self
Converts to this type from the input type.
source§impl From<Durability> for Durability
impl From<Durability> for Durability
source§fn from(input: Durability) -> Self
fn from(input: Durability) -> Self
Converts to this type from the input type.
source§impl PartialEq<Durability> for Durability
impl PartialEq<Durability> for Durability
source§fn eq(&self, other: &Durability) -> bool
fn eq(&self, other: &Durability) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.