pub struct RaisedRow {
pub from_split: Uuid,
pub to_split: Uuid,
pub from_account: Uuid,
pub to_account: Uuid,
pub from_commodity: Uuid,
pub to_commodity: Uuid,
pub value: Rational64,
pub to_amount: Option<Rational64>,
pub from_reconcile: Option<bool>,
pub to_reconcile: Option<bool>,
}Expand description
One recovered from→to row.
Fields§
§from_split: Uuid§to_split: Uuid§from_account: Uuid§to_account: Uuid§from_commodity: Uuid§to_commodity: Uuid§value: Rational64Positive magnitude of the FROM side.
to_amount: Option<Rational64>Present only for cross-commodity rows.
from_reconcile: Option<bool>§to_reconcile: Option<bool>Trait Implementations§
impl Eq for RaisedRow
impl StructuralPartialEq for RaisedRow
Auto Trait Implementations§
impl Freeze for RaisedRow
impl RefUnwindSafe for RaisedRow
impl Send for RaisedRow
impl Sync for RaisedRow
impl Unpin for RaisedRow
impl UnsafeUnpin for RaisedRow
impl UnwindSafe for RaisedRow
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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