Struct lapin_async::types::DecimalValue [−][src]
A Decimal value composed of a scale and a value
Fields
scale: u8
The scale of the value
value: u32
The actual value
Trait Implementations
impl Clone for DecimalValue[src]
impl Clone for DecimalValuefn clone(&self) -> DecimalValue[src]
fn clone(&self) -> DecimalValueReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for DecimalValue[src]
impl Debug for DecimalValuefn fmt(&self, f: &mut Formatter) -> Result<(), Error>[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl Serialize for DecimalValue[src]
impl Serialize for DecimalValuefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer, [src]
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer, Serialize this value into the given Serde serializer. Read more
impl<'de> Deserialize<'de> for DecimalValue[src]
impl<'de> Deserialize<'de> for DecimalValuefn deserialize<__D>(
__deserializer: __D
) -> Result<DecimalValue, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>, [src]
fn deserialize<__D>(
__deserializer: __D
) -> Result<DecimalValue, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>, Deserialize this value from the given Serde deserializer. Read more
impl PartialEq<DecimalValue> for DecimalValue[src]
impl PartialEq<DecimalValue> for DecimalValuefn eq(&self, other: &DecimalValue) -> bool[src]
fn eq(&self, other: &DecimalValue) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &DecimalValue) -> bool[src]
fn ne(&self, other: &DecimalValue) -> boolThis method tests for !=.
Auto Trait Implementations
impl Send for DecimalValue
impl Send for DecimalValueimpl Sync for DecimalValue
impl Sync for DecimalValue