pub struct DccInfo {
pub applied: bool,
pub rate: String,
pub currency_code: String,
pub amount: String,
pub precision: String,
}Expand description
Optional DCC / currency-exchange block (parsed from a 'V' response). Named DccInfo
to mirror the reference; the client maps it to crate::types::CurrencyExchange.
Fields§
§applied: boolWhether DCC was applied (flag byte == "1").
rate: StringRate (8 digits, 4 decimals), raw.
currency_code: StringCurrency code (alpha-3), raw.
amount: StringConverted amount (12 digits), raw.
precision: StringDecimal precision, raw.
Trait Implementations§
impl Eq for DccInfo
impl StructuralPartialEq for DccInfo
Auto Trait Implementations§
impl Freeze for DccInfo
impl RefUnwindSafe for DccInfo
impl Send for DccInfo
impl Sync for DccInfo
impl Unpin for DccInfo
impl UnsafeUnpin for DccInfo
impl UnwindSafe for DccInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more