pub struct RawTrustThresholdFraction { /* private fields */ }
Expand description
Facilitates validation of TrustThresholdFraction
instances when
deserializing them.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RawTrustThresholdFraction
impl<'de> Deserialize<'de> for RawTrustThresholdFraction
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 From<TrustThresholdFraction> for RawTrustThresholdFraction
impl From<TrustThresholdFraction> for RawTrustThresholdFraction
Source§fn from(f: TrustThresholdFraction) -> Self
fn from(f: TrustThresholdFraction) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RawTrustThresholdFraction
impl RefUnwindSafe for RawTrustThresholdFraction
impl Send for RawTrustThresholdFraction
impl Sync for RawTrustThresholdFraction
impl Unpin for RawTrustThresholdFraction
impl UnwindSafe for RawTrustThresholdFraction
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