pub enum RetentionClass {
Ephemeral,
RunScoped,
SessionScoped,
Durable,
Persistent,
HostPolicy,
}Expand description
Enumerates the finite retention class cases. Serialized names are part of the SDK contract; update fixtures when variants change.
Variants§
Ephemeral
Use this variant when the contract needs to represent ephemeral; selecting it has no side effect by itself.
RunScoped
Use this variant when the contract needs to represent run scoped; selecting it has no side effect by itself.
SessionScoped
Use this variant when the contract needs to represent session scoped; selecting it has no side effect by itself.
Durable
Use this variant when the contract needs to represent durable; selecting it has no side effect by itself.
Persistent
Use this variant when the contract needs to represent persistent; selecting it has no side effect by itself.
HostPolicy
Use this variant when the contract needs to represent host policy; selecting it has no side effect by itself.
Trait Implementations§
Source§impl Clone for RetentionClass
impl Clone for RetentionClass
Source§fn clone(&self) -> RetentionClass
fn clone(&self) -> RetentionClass
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RetentionClass
impl Debug for RetentionClass
Source§impl<'de> Deserialize<'de> for RetentionClass
impl<'de> Deserialize<'de> for RetentionClass
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>,
Source§impl Hash for RetentionClass
impl Hash for RetentionClass
Source§impl Ord for RetentionClass
impl Ord for RetentionClass
Source§fn cmp(&self, other: &RetentionClass) -> Ordering
fn cmp(&self, other: &RetentionClass) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for RetentionClass
impl PartialEq for RetentionClass
Source§fn eq(&self, other: &RetentionClass) -> bool
fn eq(&self, other: &RetentionClass) -> bool
self and other values to be equal, and is used by ==.