pub enum ObjectRetention {
UntilReleased,
Latest,
Versions(NonZero<usize>),
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ObjectRetention
impl Clone for ObjectRetention
Source§fn clone(&self) -> ObjectRetention
fn clone(&self) -> ObjectRetention
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ObjectRetention
Source§impl Debug for ObjectRetention
impl Debug for ObjectRetention
Source§impl<'de> Deserialize<'de> for ObjectRetention
impl<'de> Deserialize<'de> for ObjectRetention
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ObjectRetention, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ObjectRetention, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ObjectRetention
Source§impl PartialEq for ObjectRetention
impl PartialEq for ObjectRetention
Source§impl Serialize for ObjectRetention
impl Serialize for ObjectRetention
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 ObjectRetention
Auto Trait Implementations§
impl Freeze for ObjectRetention
impl RefUnwindSafe for ObjectRetention
impl Send for ObjectRetention
impl Sync for ObjectRetention
impl Unpin for ObjectRetention
impl UnsafeUnpin for ObjectRetention
impl UnwindSafe for ObjectRetention
Blanket Implementations§
impl<T> Allocation for T
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