pub enum GenericSignedFormattedValue {
Default(Option<Signed<Default>>),
Bytes(Option<Signed<Bytes>>),
Time(Option<Signed<ClockTime>>),
Buffers(Option<Signed<Buffers>>),
Percent(Option<Signed<Percent>>),
Other(Format, Option<Signed<Other>>),
}
Variants§
Default(Option<Signed<Default>>)
Bytes(Option<Signed<Bytes>>)
Time(Option<Signed<ClockTime>>)
Buffers(Option<Signed<Buffers>>)
Percent(Option<Signed<Percent>>)
Other(Format, Option<Signed<Other>>)
Implementations§
Trait Implementations§
source§impl Clone for GenericSignedFormattedValue
impl Clone for GenericSignedFormattedValue
source§fn clone(&self) -> GenericSignedFormattedValue
fn clone(&self) -> GenericSignedFormattedValue
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 moresource§impl Debug for GenericSignedFormattedValue
impl Debug for GenericSignedFormattedValue
source§impl<'de> Deserialize<'de> for GenericSignedFormattedValue
impl<'de> Deserialize<'de> for GenericSignedFormattedValue
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 Displayable for GenericSignedFormattedValue
impl Displayable for GenericSignedFormattedValue
type DisplayImpl = GenericSignedFormattedValue
fn display(self) -> Self::DisplayImpl
source§impl Hash for GenericSignedFormattedValue
impl Hash for GenericSignedFormattedValue
source§impl Neg for GenericSignedFormattedValue
impl Neg for GenericSignedFormattedValue
source§impl PartialEq<GenericSignedFormattedValue> for GenericSignedFormattedValue
impl PartialEq<GenericSignedFormattedValue> for GenericSignedFormattedValue
source§fn eq(&self, other: &GenericSignedFormattedValue) -> bool
fn eq(&self, other: &GenericSignedFormattedValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.