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 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<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 for HexSerializedBytes<N>
impl<const N: usize> PartialEq for HexSerializedBytes<N>
Source§impl<const N: usize> PartialOrd for HexSerializedBytes<N>
impl<const N: usize> PartialOrd for HexSerializedBytes<N>
Source§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> StructuralPartialEq for HexSerializedBytes<N>
Auto Trait Implementations§
impl<const N: usize> Freeze for HexSerializedBytes<N>
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.