Struct lumi::AccountInfo [−][src]
Contains the open/close date of an account, as well as the notes and documents.
Implementations
impl AccountInfo
[src]
pub fn open(&self) -> &(NaiveDate, Source)
[src]
Returns the account open date and the source of the open
directive.
pub fn close(&self) -> &Option<(NaiveDate, Source)>
[src]
Returns the account close date and the source of the close
directive.
pub fn currencies(&self) -> &HashSet<Currency>
[src]
Returns the allowed currencies of this account. If there are no limitations, an empty set is returned.
pub fn notes(&self) -> &Vec<AccountNote>
[src]
Returns the account notes in note
directives.
pub fn docs(&self) -> &Vec<AccountDoc>
[src]
Returns the account documents in document
directives.
pub fn meta(&self) -> &Meta
[src]
Returns the account meta data associated with the open
directive.
Trait Implementations
impl Clone for AccountInfo
[src]
fn clone(&self) -> AccountInfo
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for AccountInfo
[src]
impl Eq for AccountInfo
[src]
impl PartialEq<AccountInfo> for AccountInfo
[src]
fn eq(&self, other: &AccountInfo) -> bool
[src]
fn ne(&self, other: &AccountInfo) -> bool
[src]
impl StructuralEq for AccountInfo
[src]
impl StructuralPartialEq for AccountInfo
[src]
Auto Trait Implementations
impl RefUnwindSafe for AccountInfo
impl Send for AccountInfo
impl Sync for AccountInfo
impl Unpin for AccountInfo
impl UnwindSafe for AccountInfo
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,