Type Alias serdect::array::HexLowerOrBin
source · pub type HexLowerOrBin<const N: usize> = HexOrBin<N, false>;
Expand description
HexOrBin
serializer which uses lower case.
Aliased Type§
struct HexLowerOrBin<const N: usize>(pub [u8; N]);
Fields§
§0: [u8; N]
Trait Implementations
source§impl<'de, const N: usize, const UPPERCASE: bool> Deserialize<'de> for HexOrBin<N, UPPERCASE>
impl<'de, const N: usize, const UPPERCASE: bool> Deserialize<'de> for HexOrBin<N, UPPERCASE>
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, const UPPERCASE: bool> Ord for HexOrBin<N, UPPERCASE>
impl<const N: usize, const UPPERCASE: bool> Ord for HexOrBin<N, UPPERCASE>
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, const UPPERCASE: bool> PartialEq for HexOrBin<N, UPPERCASE>
impl<const N: usize, const UPPERCASE: bool> PartialEq for HexOrBin<N, UPPERCASE>
source§impl<const N: usize, const UPPERCASE: bool> PartialOrd for HexOrBin<N, UPPERCASE>
impl<const N: usize, const UPPERCASE: bool> PartialOrd for HexOrBin<N, UPPERCASE>
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 more