Type Alias ic_certification::Label
source · pub type Label = Label<Vec<u8>>;Expand description
For labeled HashTreeNode
Aliased Type§
struct Label(/* private fields */);Implementations§
Trait Implementations§
source§impl<'de, Storage> Deserialize<'de> for Label<Storage>where
Storage: Deserialize<'de> + AsRef<[u8]>,
impl<'de, Storage> Deserialize<'de> for Label<Storage>where Storage: Deserialize<'de> + AsRef<[u8]>,
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<Storage: Ord + AsRef<[u8]>> Ord for Label<Storage>
impl<Storage: Ord + AsRef<[u8]>> Ord for Label<Storage>
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<Storage: PartialEq + AsRef<[u8]>> PartialEq<Label<Storage>> for Label<Storage>
impl<Storage: PartialEq + AsRef<[u8]>> PartialEq<Label<Storage>> for Label<Storage>
source§impl<Storage: PartialOrd + AsRef<[u8]>> PartialOrd<Label<Storage>> for Label<Storage>
impl<Storage: PartialOrd + AsRef<[u8]>> PartialOrd<Label<Storage>> for Label<Storage>
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