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<'de> Deserialize<'de> for DecimalValue
[src]
impl<'de> Deserialize<'de> for DecimalValue
fn 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 Clone for DecimalValue
[src]
impl Clone for DecimalValue
fn clone(&self) -> DecimalValue
[src]
fn clone(&self) -> DecimalValue
Returns 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 Serialize for DecimalValue
[src]
impl Serialize for DecimalValue
fn 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 Debug for DecimalValue
[src]
impl Debug for DecimalValue
fn 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 PartialEq<DecimalValue> for DecimalValue
[src]
impl PartialEq<DecimalValue> for DecimalValue
fn eq(&self, other: &DecimalValue) -> bool
[src]
fn eq(&self, other: &DecimalValue) -> bool
This 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) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for DecimalValue
impl Send for DecimalValue
impl Sync for DecimalValue
impl Sync for DecimalValue