pub struct SplitArgs<'a> {
pub account_id: [u8; 16],
pub commodity_id: [u8; 16],
pub value_num: i64,
pub value_denom: i64,
pub reconcile_state: u8,
pub reconcile_date: i64,
pub account_name: &'a str,
}Expand description
Body fields specific to a split entity. account_name borrows from the
caller and is interned into the strings pool by
MemorySerializer::add_split so a trigger script can read the posting
account’s display name via SPLIT-ACCOUNT-NAME.
Fields§
§account_id: [u8; 16]§commodity_id: [u8; 16]§value_num: i64§value_denom: i64§reconcile_state: u8§reconcile_date: i64§account_name: &'a strTrait Implementations§
impl<'a> Copy for SplitArgs<'a>
Auto Trait Implementations§
impl<'a> Freeze for SplitArgs<'a>
impl<'a> RefUnwindSafe for SplitArgs<'a>
impl<'a> Send for SplitArgs<'a>
impl<'a> Sync for SplitArgs<'a>
impl<'a> Unpin for SplitArgs<'a>
impl<'a> UnsafeUnpin for SplitArgs<'a>
impl<'a> UnwindSafe for SplitArgs<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more