pub struct TrustAmountRoot(NonZeroU8);Expand description
The trust amount for a root in a “Web of Trust” network.
Tuple Fields§
§0: NonZeroU8Implementations§
Trait Implementations§
Source§impl Clone for TrustAmountRoot
impl Clone for TrustAmountRoot
Source§fn clone(&self) -> TrustAmountRoot
fn clone(&self) -> TrustAmountRoot
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 Debug for TrustAmountRoot
impl Debug for TrustAmountRoot
Source§impl Default for TrustAmountRoot
impl Default for TrustAmountRoot
Source§impl<'de> Deserialize<'de> for TrustAmountRoot
impl<'de> Deserialize<'de> for TrustAmountRoot
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 Display for TrustAmountRoot
impl Display for TrustAmountRoot
Source§impl Hash for TrustAmountRoot
impl Hash for TrustAmountRoot
Source§impl Ord for TrustAmountRoot
impl Ord for TrustAmountRoot
Source§fn cmp(&self, other: &TrustAmountRoot) -> Ordering
fn cmp(&self, other: &TrustAmountRoot) -> 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 PartialEq for TrustAmountRoot
impl PartialEq for TrustAmountRoot
Source§impl PartialOrd for TrustAmountRoot
impl PartialOrd for TrustAmountRoot
Source§impl Serialize for TrustAmountRoot
impl Serialize for TrustAmountRoot
impl Copy for TrustAmountRoot
impl Eq for TrustAmountRoot
impl StructuralPartialEq for TrustAmountRoot
Auto Trait Implementations§
impl Freeze for TrustAmountRoot
impl RefUnwindSafe for TrustAmountRoot
impl Send for TrustAmountRoot
impl Sync for TrustAmountRoot
impl Unpin for TrustAmountRoot
impl UnwindSafe for TrustAmountRoot
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,
§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of [
ToCompactString::to_compact_string()] Read more§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a [
CompactString]. Read more