Enum cml::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<Durability, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<Durability, <__D as Deserializer<'de>>::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) -> Durability
fn from(input: Durability) -> Durability
Converts to this type from the input type.
source§impl PartialEq for Durability
impl PartialEq 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 ==
.source§impl Serialize for Durability
impl Serialize for Durability
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for Durability
Auto Trait Implementations§
impl Freeze for Durability
impl RefUnwindSafe for Durability
impl Send for Durability
impl Sync for Durability
impl Unpin for Durability
impl UnwindSafe for Durability
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