pub struct TrustAmountPartial(NonZeroU8);Expand description
The trust amount for a partially trusted introducer in a “Web of Trust” network.
Tuple Fields§
§0: NonZeroU8Implementations§
Trait Implementations§
Source§impl Clone for TrustAmountPartial
impl Clone for TrustAmountPartial
Source§fn clone(&self) -> TrustAmountPartial
fn clone(&self) -> TrustAmountPartial
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 TrustAmountPartial
impl Debug for TrustAmountPartial
Source§impl Default for TrustAmountPartial
impl Default for TrustAmountPartial
Source§impl<'de> Deserialize<'de> for TrustAmountPartial
impl<'de> Deserialize<'de> for TrustAmountPartial
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 TrustAmountPartial
impl Display for TrustAmountPartial
Source§impl Hash for TrustAmountPartial
impl Hash for TrustAmountPartial
Source§impl PartialEq for TrustAmountPartial
impl PartialEq for TrustAmountPartial
Source§impl Serialize for TrustAmountPartial
impl Serialize for TrustAmountPartial
impl Copy for TrustAmountPartial
impl Eq for TrustAmountPartial
impl StructuralPartialEq for TrustAmountPartial
Auto Trait Implementations§
impl Freeze for TrustAmountPartial
impl RefUnwindSafe for TrustAmountPartial
impl Send for TrustAmountPartial
impl Sync for TrustAmountPartial
impl Unpin for TrustAmountPartial
impl UnwindSafe for TrustAmountPartial
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