Struct lapin_futures::types::DecimalValue
source · Expand description
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
sourceimpl Clone for DecimalValue
impl Clone for DecimalValue
sourcefn clone(&self) -> DecimalValue
fn clone(&self) -> DecimalValue
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for DecimalValue
impl Debug for DecimalValue
sourceimpl<'de> Deserialize<'de> for DecimalValue
impl<'de> Deserialize<'de> for DecimalValue
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<DecimalValue, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
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
sourceimpl PartialEq<DecimalValue> for DecimalValue
impl PartialEq<DecimalValue> for DecimalValue
sourcefn eq(&self, other: &DecimalValue) -> bool
fn eq(&self, other: &DecimalValue) -> bool
sourceimpl Serialize for DecimalValue
impl Serialize for DecimalValue
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
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 Copy for DecimalValue
impl Eq for DecimalValue
impl StructuralEq for DecimalValue
impl StructuralPartialEq for DecimalValue
Auto Trait Implementations
impl RefUnwindSafe for DecimalValue
impl Send for DecimalValue
impl Sync for DecimalValue
impl Unpin for DecimalValue
impl UnwindSafe for DecimalValue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more