pub struct ReconcilePairRequest {
pub company_id: Uuid,
pub debit: ReconcileLine,
pub credit: ReconcileLine,
pub amount: Decimal,
pub origin: ReconcileOrigin,
}Expand description
Create (or grow) the debit↔credit edge between two located lines.
Fields§
§company_id: Uuid§debit: ReconcileLine§credit: ReconcileLine§amount: DecimalRequested amount in company currency; the sink clamps to the smaller line residual.
origin: ReconcileOriginTrait Implementations§
Source§impl Clone for ReconcilePairRequest
impl Clone for ReconcilePairRequest
Source§impl Debug for ReconcilePairRequest
impl Debug for ReconcilePairRequest
Source§impl<'de> Deserialize<'de> for ReconcilePairRequest
impl<'de> Deserialize<'de> for ReconcilePairRequest
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 PartialEq for ReconcilePairRequest
impl PartialEq for ReconcilePairRequest
Source§impl Serialize for ReconcilePairRequest
impl Serialize for ReconcilePairRequest
impl StructuralPartialEq for ReconcilePairRequest
Auto Trait Implementations§
impl Freeze for ReconcilePairRequest
impl RefUnwindSafe for ReconcilePairRequest
impl Send for ReconcilePairRequest
impl Sync for ReconcilePairRequest
impl Unpin for ReconcilePairRequest
impl UnsafeUnpin for ReconcilePairRequest
impl UnwindSafe for ReconcilePairRequest
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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