pub enum CidVersion {
V0,
V1,
}Variants§
Trait Implementations§
Source§impl Clone for CidVersion
impl Clone for CidVersion
Source§fn clone(&self) -> CidVersion
fn clone(&self) -> CidVersion
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 CidVersion
Source§impl Debug for CidVersion
impl Debug for CidVersion
Source§impl Default for CidVersion
impl Default for CidVersion
Source§fn default() -> CidVersion
fn default() -> CidVersion
Returns the “default value” for a type. Read more
impl Eq for CidVersion
Source§impl PartialEq for CidVersion
impl PartialEq for CidVersion
Source§fn eq(&self, other: &CidVersion) -> bool
fn eq(&self, other: &CidVersion) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CidVersion
Auto Trait Implementations§
impl Freeze for CidVersion
impl RefUnwindSafe for CidVersion
impl Send for CidVersion
impl Sync for CidVersion
impl Unpin for CidVersion
impl UnsafeUnpin for CidVersion
impl UnwindSafe for CidVersion
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