Struct amq_protocol_types::DecimalValue [−][src]
pub struct DecimalValue { pub scale: ShortShortUInt, pub value: LongUInt, }
A Decimal value composed of a scale and a value
Fields
scale: ShortShortUInt
The scale of the value
value: LongUInt
The actual value
Trait Implementations
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 Debug for DecimalValue
[src]
impl Debug for DecimalValue
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for DecimalValue
[src]
impl PartialEq 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