pub struct Payee {
pub name: String,
pub meta: Metadata,
}Expand description
Declares a payee as “known” (see ValidationError::PayeeNotDeclared).
Unlike Open/Commodity, this carries no date: a payee has no
temporal life cycle, so only its presence in the journal matters, not
where it appears relative to the transactions using it.
Fields§
§name: StringName used by transactions referring to this payee.
meta: MetadataMetadata attached to the directive.
Trait Implementations§
impl StructuralPartialEq for Payee
Auto Trait Implementations§
impl Freeze for Payee
impl RefUnwindSafe for Payee
impl Send for Payee
impl Sync for Payee
impl Unpin for Payee
impl UnsafeUnpin for Payee
impl UnwindSafe for Payee
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