Struct currency_rs::CurrencyOpts
source · [−]pub struct CurrencyOpts {
pub symbol: String,
pub separator: String,
pub decimal: String,
pub precision: f64,
pub pattern: String,
pub negative_pattern: String,
pub from_cents: bool,
pub increment: Option<f64>,
pub use_vedic: bool,
pub error_on_invalid: bool,
}
Fields
symbol: String
separator: String
decimal: String
precision: f64
pattern: String
negative_pattern: String
from_cents: bool
increment: Option<f64>
use_vedic: bool
error_on_invalid: bool
Trait Implementations
sourceimpl Clone for CurrencyOpts
impl Clone for CurrencyOpts
sourcefn clone(&self) -> CurrencyOpts
fn clone(&self) -> CurrencyOpts
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 more
sourceimpl Debug for CurrencyOpts
impl Debug for CurrencyOpts
Auto Trait Implementations
impl RefUnwindSafe for CurrencyOpts
impl Send for CurrencyOpts
impl Sync for CurrencyOpts
impl Unpin for CurrencyOpts
impl UnwindSafe for CurrencyOpts
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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