pub enum VersionType {
Invalid = 0,
Object = 1,
Delete = 2,
Legacy = 3,
}
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for VersionType
impl Clone for VersionType
Source§fn clone(&self) -> VersionType
fn clone(&self) -> VersionType
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for VersionType
impl Debug for VersionType
Source§impl Default for VersionType
impl Default for VersionType
Source§fn default() -> VersionType
fn default() -> VersionType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VersionType
impl<'de> Deserialize<'de> for VersionType
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 Hash for VersionType
impl Hash for VersionType
Source§impl Ord for VersionType
impl Ord for VersionType
Source§fn cmp(&self, other: &VersionType) -> Ordering
fn cmp(&self, other: &VersionType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for VersionType
impl PartialEq for VersionType
Source§impl PartialOrd for VersionType
impl PartialOrd for VersionType
Source§impl Serialize for VersionType
impl Serialize for VersionType
impl Eq for VersionType
impl StructuralPartialEq for VersionType
Auto Trait Implementations§
impl Freeze for VersionType
impl RefUnwindSafe for VersionType
impl Send for VersionType
impl Sync for VersionType
impl Unpin for VersionType
impl UnwindSafe for VersionType
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