pub struct PostingRequestDto {
pub branch_id: Option<Uuid>,
pub source_type: String,
pub source_id: Uuid,
pub source_reference: Option<String>,
pub posting_date: NaiveDate,
pub currency: String,
pub posting_type: String,
pub reverses_post_id: Option<Uuid>,
pub description: Option<String>,
pub posted_by: Option<Uuid>,
pub idempotency_key: Option<String>,
pub lines: Vec<PostingLineDto>,
}Fields§
§branch_id: Option<Uuid>§source_type: String§source_id: Uuid§source_reference: Option<String>§posting_date: NaiveDate§currency: String§posting_type: String§reverses_post_id: Option<Uuid>§description: Option<String>§posted_by: Option<Uuid>Ignored: the poster is the authenticated principal. Still accepted so existing callers keep working.
idempotency_key: Option<String>§lines: Vec<PostingLineDto>Trait Implementations§
Source§impl Debug for PostingRequestDto
impl Debug for PostingRequestDto
Source§impl<'de> Deserialize<'de> for PostingRequestDto
impl<'de> Deserialize<'de> for PostingRequestDto
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
Auto Trait Implementations§
impl Freeze for PostingRequestDto
impl RefUnwindSafe for PostingRequestDto
impl Send for PostingRequestDto
impl Sync for PostingRequestDto
impl Unpin for PostingRequestDto
impl UnsafeUnpin for PostingRequestDto
impl UnwindSafe for PostingRequestDto
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
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