Struct hdbconnect::types::HdbDecimal
[−]
[src]
pub struct HdbDecimal { /* fields omitted */ }
Representation of HANA's DECIMAL type.
Methods
impl HdbDecimal
[src]
fn parse_from_str(s: &str) -> Result<HdbDecimal, SerializationError>
[src]
Parse from a string representation.
fn from_decimal(decimal: Decimal) -> Result<HdbDecimal, SerializationError>
[src]
Creates a HdbDecimal from a rust_decimal::Decimal
.
fn into_decimal(self) -> Decimal
[src]
Converts into a rust_decimal::Decimal
representation.
fn as_decimal(&self) -> Decimal
[src]
Returns a rust_decimal::Decimal
representation.
Trait Implementations
impl Clone for HdbDecimal
[src]
fn clone(&self) -> HdbDecimal
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more