Struct ic_certification::hash_tree::Label
source · pub struct Label<Storage: AsRef<[u8]>>(_);Expand description
For labeled HashTreeNode
Implementations§
Trait Implementations§
source§impl<'de, Storage> Deserialize<'de> for Label<Storage>where
Storage: Deserialize<'de> + AsRef<[u8]>,
Available on crate feature serde only.
impl<'de, Storage> Deserialize<'de> for Label<Storage>where Storage: Deserialize<'de> + AsRef<[u8]>,
Available on crate feature
serde only.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 moresource§impl<Storage: AsRef<[u8]>> Serialize for Label<Storage>
Available on crate feature serde only.
impl<Storage: AsRef<[u8]>> Serialize for Label<Storage>
Available on crate feature
serde only.impl<Storage: Eq + AsRef<[u8]>> Eq for Label<Storage>
impl<Storage: AsRef<[u8]>> StructuralEq for Label<Storage>
impl<Storage: AsRef<[u8]>> StructuralPartialEq for Label<Storage>
Auto Trait Implementations§
impl<Storage> RefUnwindSafe for Label<Storage>where Storage: RefUnwindSafe,
impl<Storage> Send for Label<Storage>where Storage: Send,
impl<Storage> Sync for Label<Storage>where Storage: Sync,
impl<Storage> Unpin for Label<Storage>where Storage: Unpin,
impl<Storage> UnwindSafe for Label<Storage>where Storage: UnwindSafe,
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> ToHex for Twhere
T: AsRef<[u8]>,
impl<T> ToHex for Twhere T: AsRef<[u8]>,
source§fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex<U>(&self) -> Uwhere U: FromIterator<char>,
Encode the hex strict representing
self into the result. Lower case
letters are used (e.g. f9b4ca)source§fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex_upper<U>(&self) -> Uwhere U: FromIterator<char>,
Encode the hex strict representing
self into the result. Upper case
letters are used (e.g. F9B4CA)