pub struct CurrencyDoc { /* private fields */ }Expand description
The currency document
Implementations§
Source§impl CurrencyDoc
impl CurrencyDoc
Sourcepub fn table(&self) -> &CurrencyTable
pub fn table(&self) -> &CurrencyTable
The table contained within this document.
Sourcepub fn published(&self) -> ParseResult<NaiveDate>
pub fn published(&self) -> ParseResult<NaiveDate>
The date this document was published.
§Errors
ParseErrorwhen the date string is not in the formatYYYY-MM-DD.
Trait Implementations§
Source§impl Clone for CurrencyDoc
impl Clone for CurrencyDoc
Source§fn clone(&self) -> CurrencyDoc
fn clone(&self) -> CurrencyDoc
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CurrencyDoc
impl Debug for CurrencyDoc
Source§impl<'de> Deserialize<'de> for CurrencyDoc
impl<'de> Deserialize<'de> for CurrencyDoc
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
Source§impl Hash for CurrencyDoc
impl Hash for CurrencyDoc
Source§impl Ord for CurrencyDoc
impl Ord for CurrencyDoc
Source§fn cmp(&self, other: &CurrencyDoc) -> Ordering
fn cmp(&self, other: &CurrencyDoc) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CurrencyDoc
impl PartialEq for CurrencyDoc
Source§impl PartialOrd for CurrencyDoc
impl PartialOrd for CurrencyDoc
Source§impl Serialize for CurrencyDoc
impl Serialize for CurrencyDoc
impl Eq for CurrencyDoc
impl StructuralPartialEq for CurrencyDoc
Auto Trait Implementations§
impl Freeze for CurrencyDoc
impl RefUnwindSafe for CurrencyDoc
impl Send for CurrencyDoc
impl Sync for CurrencyDoc
impl Unpin for CurrencyDoc
impl UnwindSafe for CurrencyDoc
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