pub struct Payment {Show 25 fields
pub Id: i32,
pub DocumentNumber: String,
pub Active: bool,
pub Canceled: enumCancelationType,
pub Buffer: bool,
pub Settled: bool,
pub IssueDate: Option<NaiveDateTime>,
pub MaturityDate: Option<NaiveDateTime>,
pub SettlementDate: Option<NaiveDateTime>,
pub TypeCode: String,
pub Series: String,
pub NumberInSeries: i32,
pub IssuerId: i32,
pub SubjectId: Option<i32>,
pub ReceivingPaymentRegistryId: Option<i32>,
pub Description: String,
pub Currency: String,
pub CurrencyRate: Decimal,
pub TotalValue: Decimal,
pub SettledValue: Decimal,
pub SettledValuePLN: Decimal,
pub PaymentRegistryId: i32,
pub PaymentType: enumPaymentType,
pub SubjectType: enumPaymentSubjectType,
pub Positions: Vec<PaymentPosition>,
}Expand description
WebAPI model Payment.
Fields§
§Id: i32§DocumentNumber: String§Active: bool§Canceled: enumCancelationType§Buffer: bool§Settled: bool§IssueDate: Option<NaiveDateTime>§MaturityDate: Option<NaiveDateTime>§SettlementDate: Option<NaiveDateTime>§TypeCode: String§Series: String§NumberInSeries: i32§IssuerId: i32§SubjectId: Option<i32>§ReceivingPaymentRegistryId: Option<i32>§Description: String§Currency: String§CurrencyRate: Decimal§TotalValue: Decimal§SettledValue: Decimal§SettledValuePLN: Decimal§PaymentRegistryId: i32§PaymentType: enumPaymentType§SubjectType: enumPaymentSubjectType§Positions: Vec<PaymentPosition>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Payment
impl<'de> Deserialize<'de> for Payment
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 Payment
impl RefUnwindSafe for Payment
impl Send for Payment
impl Sync for Payment
impl Unpin for Payment
impl UnsafeUnpin for Payment
impl UnwindSafe for Payment
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