#[repr(transparent)]pub struct OwnershipKeyAlg(pub u32);
Tuple Fields§
§0: u32
Implementations§
Source§impl OwnershipKeyAlg
impl OwnershipKeyAlg
pub const Unknown: OwnershipKeyAlg = _
pub const Rsa: OwnershipKeyAlg = _
pub const EcdsaP256: OwnershipKeyAlg = _
pub const Spx: OwnershipKeyAlg = _
pub const Spxq20: OwnershipKeyAlg = _
Trait Implementations§
Source§impl Binary for OwnershipKeyAlg
impl Binary for OwnershipKeyAlg
Source§impl Clone for OwnershipKeyAlg
impl Clone for OwnershipKeyAlg
Source§fn clone(&self) -> OwnershipKeyAlg
fn clone(&self) -> OwnershipKeyAlg
Returns a copy 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 OwnershipKeyAlg
impl Debug for OwnershipKeyAlg
Source§impl Default for OwnershipKeyAlg
impl Default for OwnershipKeyAlg
Source§impl<'de> Deserialize<'de> for OwnershipKeyAlg
impl<'de> Deserialize<'de> for OwnershipKeyAlg
Source§fn deserialize<D>(deserializer: D) -> Result<OwnershipKeyAlg, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<OwnershipKeyAlg, D::Error>where
D: Deserializer<'de>,
Deserializes the value by forwarding to deserialize_any
.
deserialize_any
will forward strings to the string visitor
and forward integers to the appropriate integer visitor.
Source§impl Display for OwnershipKeyAlg
impl Display for OwnershipKeyAlg
Source§impl From<OwnershipKeyAlg> for u32
impl From<OwnershipKeyAlg> for u32
Source§fn from(v: OwnershipKeyAlg) -> u32
fn from(v: OwnershipKeyAlg) -> u32
Converts to this type from the input type.
Source§impl FromStr for OwnershipKeyAlg
impl FromStr for OwnershipKeyAlg
Source§impl Hash for OwnershipKeyAlg
impl Hash for OwnershipKeyAlg
Source§impl LowerHex for OwnershipKeyAlg
impl LowerHex for OwnershipKeyAlg
Source§impl Octal for OwnershipKeyAlg
impl Octal for OwnershipKeyAlg
Source§impl Ord for OwnershipKeyAlg
impl Ord for OwnershipKeyAlg
Source§fn cmp(&self, other: &OwnershipKeyAlg) -> Ordering
fn cmp(&self, other: &OwnershipKeyAlg) -> 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 OwnershipKeyAlg
impl PartialEq for OwnershipKeyAlg
Source§impl PartialOrd for OwnershipKeyAlg
impl PartialOrd for OwnershipKeyAlg
Source§impl Serialize for OwnershipKeyAlg
impl Serialize for OwnershipKeyAlg
Source§impl TryFrom<i16> for OwnershipKeyAlg
impl TryFrom<i16> for OwnershipKeyAlg
Source§impl TryFrom<i32> for OwnershipKeyAlg
impl TryFrom<i32> for OwnershipKeyAlg
Source§impl TryFrom<i64> for OwnershipKeyAlg
impl TryFrom<i64> for OwnershipKeyAlg
Source§impl TryFrom<i8> for OwnershipKeyAlg
impl TryFrom<i8> for OwnershipKeyAlg
Source§impl TryFrom<u16> for OwnershipKeyAlg
impl TryFrom<u16> for OwnershipKeyAlg
Source§impl TryFrom<u32> for OwnershipKeyAlg
impl TryFrom<u32> for OwnershipKeyAlg
Source§impl TryFrom<u64> for OwnershipKeyAlg
impl TryFrom<u64> for OwnershipKeyAlg
Source§impl TryFrom<u8> for OwnershipKeyAlg
impl TryFrom<u8> for OwnershipKeyAlg
Source§impl UpperHex for OwnershipKeyAlg
impl UpperHex for OwnershipKeyAlg
Source§impl ValueEnum for OwnershipKeyAlg
impl ValueEnum for OwnershipKeyAlg
impl Copy for OwnershipKeyAlg
impl Eq for OwnershipKeyAlg
impl StructuralPartialEq for OwnershipKeyAlg
Auto Trait Implementations§
impl Freeze for OwnershipKeyAlg
impl RefUnwindSafe for OwnershipKeyAlg
impl Send for OwnershipKeyAlg
impl Sync for OwnershipKeyAlg
impl Unpin for OwnershipKeyAlg
impl UnwindSafe for OwnershipKeyAlg
Blanket Implementations§
§impl<T> Annotate for T
impl<T> Annotate for T
default fn format( &self, _variant: Option<&str>, _field: &MemberId<'_>, ) -> Option<Format>
default fn comment( &self, _variant: Option<&str>, _field: &MemberId<'_>, ) -> Option<String>
default fn as_annotate(&self) -> Option<&dyn Annotate>
default fn thunk_serialize( &self, serializer: &mut AnnotatedSerializer<'_>, ) -> Result<Document, Error>
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