Struct simperby_core::crypto::HexSerializedBytes
source · pub struct HexSerializedBytes<const N: usize> {
pub data: [u8; N],
}Fields§
§data: [u8; N]Trait Implementations§
source§impl<const N: usize> Clone for HexSerializedBytes<N>
impl<const N: usize> Clone for HexSerializedBytes<N>
source§fn clone(&self) -> HexSerializedBytes<N>
fn clone(&self) -> HexSerializedBytes<N>
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<const N: usize> Debug for HexSerializedBytes<N>
impl<const N: usize> Debug for HexSerializedBytes<N>
source§impl<'de, const N: usize> Deserialize<'de> for HexSerializedBytes<N>
impl<'de, const N: usize> Deserialize<'de> for HexSerializedBytes<N>
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<const N: usize> Display for HexSerializedBytes<N>
impl<const N: usize> Display for HexSerializedBytes<N>
source§impl<const N: usize> From<HexSerializedBytes<N>> for HexSerializedVec
impl<const N: usize> From<HexSerializedBytes<N>> for HexSerializedVec
source§fn from(data: HexSerializedBytes<N>) -> Self
fn from(data: HexSerializedBytes<N>) -> Self
Converts to this type from the input type.
source§impl<const N: usize> Hash for HexSerializedBytes<N>
impl<const N: usize> Hash for HexSerializedBytes<N>
source§impl<const N: usize> Ord for HexSerializedBytes<N>
impl<const N: usize> Ord for HexSerializedBytes<N>
source§fn cmp(&self, other: &HexSerializedBytes<N>) -> Ordering
fn cmp(&self, other: &HexSerializedBytes<N>) -> 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<const N: usize> PartialEq<HexSerializedBytes<N>> for HexSerializedBytes<N>
impl<const N: usize> PartialEq<HexSerializedBytes<N>> for HexSerializedBytes<N>
source§fn eq(&self, other: &HexSerializedBytes<N>) -> bool
fn eq(&self, other: &HexSerializedBytes<N>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl<const N: usize> PartialOrd<HexSerializedBytes<N>> for HexSerializedBytes<N>
impl<const N: usize> PartialOrd<HexSerializedBytes<N>> for HexSerializedBytes<N>
source§fn partial_cmp(&self, other: &HexSerializedBytes<N>) -> Option<Ordering>
fn partial_cmp(&self, other: &HexSerializedBytes<N>) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl<const N: usize> Serialize for HexSerializedBytes<N>
impl<const N: usize> Serialize for HexSerializedBytes<N>
impl<const N: usize> Copy for HexSerializedBytes<N>
impl<const N: usize> Eq for HexSerializedBytes<N>
impl<const N: usize> StructuralEq for HexSerializedBytes<N>
impl<const N: usize> StructuralPartialEq for HexSerializedBytes<N>
Auto Trait Implementations§
impl<const N: usize> RefUnwindSafe for HexSerializedBytes<N>
impl<const N: usize> Send for HexSerializedBytes<N>
impl<const N: usize> Sync for HexSerializedBytes<N>
impl<const N: usize> Unpin for HexSerializedBytes<N>
impl<const N: usize> UnwindSafe for HexSerializedBytes<N>
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.