Struct billecta::RegisterPayment
source · pub struct RegisterPayment {
pub action_public_id: Option<String>,
pub amount: Option<Amount>,
pub write_off: Option<Amount>,
pub comment: Option<String>,
pub date: DateTime,
pub write_off_vat: f64,
pub override_write_off_account: Option<String>,
pub payment_mean_code: Option<String>,
pub overshooting_amount_handling: RegisterPaymentOverShootingAmountHandlingType,
pub payment_reference_text: Option<String>,
}
Fields§
§action_public_id: Option<String>
§amount: Option<Amount>
§write_off: Option<Amount>
§comment: Option<String>
§date: DateTime
§write_off_vat: f64
§override_write_off_account: Option<String>
§payment_mean_code: Option<String>
§overshooting_amount_handling: RegisterPaymentOverShootingAmountHandlingType
§payment_reference_text: Option<String>
Implementations§
source§impl RegisterPayment
impl RegisterPayment
pub fn new( date: DateTime, write_off_vat: f64, overshooting_amount_handling: RegisterPaymentOverShootingAmountHandlingType, ) -> Self
Trait Implementations§
source§impl Clone for RegisterPayment
impl Clone for RegisterPayment
source§fn clone(&self) -> RegisterPayment
fn clone(&self) -> RegisterPayment
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RegisterPayment
impl Debug for RegisterPayment
source§impl<'de> Deserialize<'de> for RegisterPayment
impl<'de> Deserialize<'de> for RegisterPayment
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 RegisterPayment
impl RefUnwindSafe for RegisterPayment
impl Send for RegisterPayment
impl Sync for RegisterPayment
impl Unpin for RegisterPayment
impl UnwindSafe for RegisterPayment
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