pub struct Curr {
pub currency_type: String,
pub format: Option<CurrencyFormat>,
pub value: String,
}Expand description
Currency value (active document element)
Fields§
§currency_type: StringISO 4217 currency code (e.g., “USD”, “EUR”, “GBP”)
format: Option<CurrencyFormat>Display format hint
value: StringNumeric value (no currency symbols)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Curr
impl<'de> Deserialize<'de> for Curr
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Curr
Auto Trait Implementations§
impl Freeze for Curr
impl RefUnwindSafe for Curr
impl Send for Curr
impl Sync for Curr
impl Unpin for Curr
impl UnwindSafe for Curr
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