#[repr(u8)]pub enum BaseKeyType {
Ours = 1,
Theirs = 2,
}Variants§
Trait Implementations§
Source§impl Clone for BaseKeyType
impl Clone for BaseKeyType
Source§fn clone(&self) -> BaseKeyType
fn clone(&self) -> BaseKeyType
Returns a duplicate 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 BaseKeyType
impl Debug for BaseKeyType
Source§impl<'de> Deserialize<'de> for BaseKeyType
impl<'de> Deserialize<'de> for BaseKeyType
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 From<BaseKeyType> for u8
impl From<BaseKeyType> for u8
Source§fn from(value: BaseKeyType) -> Self
fn from(value: BaseKeyType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for BaseKeyType
impl PartialEq for BaseKeyType
Source§impl Serialize for BaseKeyType
impl Serialize for BaseKeyType
Source§impl TryFrom<u8> for BaseKeyType
impl TryFrom<u8> for BaseKeyType
impl Copy for BaseKeyType
impl Eq for BaseKeyType
impl StructuralPartialEq for BaseKeyType
Auto Trait Implementations§
impl Freeze for BaseKeyType
impl RefUnwindSafe for BaseKeyType
impl Send for BaseKeyType
impl Sync for BaseKeyType
impl Unpin for BaseKeyType
impl UnwindSafe for BaseKeyType
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