Struct JsonThresholdValues
pub struct JsonThresholdValues<A: Arch> { /* private fields */ }
Expand description
A collection of JsonThresholdValue
s.
Implementations§
§impl<A: Arch> JsonThresholdValues<A>
impl<A: Arch> JsonThresholdValues<A>
pub fn into_threshold_values(self) -> ThresholdValues<A>
Trait Implementations§
§impl<A: Clone + Arch> Clone for JsonThresholdValues<A>
impl<A: Clone + Arch> Clone for JsonThresholdValues<A>
§fn clone(&self) -> JsonThresholdValues<A>
fn clone(&self) -> JsonThresholdValues<A>
Returns a copy 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 more§impl<A: Debug + Arch> Debug for JsonThresholdValues<A>
impl<A: Debug + Arch> Debug for JsonThresholdValues<A>
§impl<A: Default + Arch> Default for JsonThresholdValues<A>
impl<A: Default + Arch> Default for JsonThresholdValues<A>
§fn default() -> JsonThresholdValues<A>
fn default() -> JsonThresholdValues<A>
Returns the “default value” for a type. Read more
§impl<'de, A: Arch> Deserialize<'de> for JsonThresholdValues<A>
impl<'de, A: Arch> Deserialize<'de> for JsonThresholdValues<A>
§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
§impl<A: PartialEq + Arch> PartialEq for JsonThresholdValues<A>
impl<A: PartialEq + Arch> PartialEq for JsonThresholdValues<A>
§impl<A: Arch> Serialize for JsonThresholdValues<A>
impl<A: Arch> Serialize for JsonThresholdValues<A>
impl<A: Arch> StructuralPartialEq for JsonThresholdValues<A>
Auto Trait Implementations§
impl<A> Freeze for JsonThresholdValues<A>
impl<A> RefUnwindSafe for JsonThresholdValues<A>
impl<A> Send for JsonThresholdValues<A>
impl<A> Sync for JsonThresholdValues<A>
impl<A> Unpin for JsonThresholdValues<A>
impl<A> UnwindSafe for JsonThresholdValues<A>
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,
Source§impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
Source§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more