pub type HexUpperOrBin = HexOrBin<true>;
Expand description
HexOrBin
serializer which uses upper case.
Aliased Type§
struct HexUpperOrBin(pub Vec<u8>);
Fields§
§0: Vec<u8>
Trait Implementations
Source§impl<'de, const UPPERCASE: bool> Deserialize<'de> for HexOrBin<UPPERCASE>
impl<'de, const UPPERCASE: bool> Deserialize<'de> for HexOrBin<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 UPPERCASE: bool> Ord for HexOrBin<UPPERCASE>
impl<const UPPERCASE: bool> Ord for HexOrBin<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