Struct billecta::DebtorBalance
source · pub struct DebtorBalance {
pub debtor_public_id: Uuid,
pub transaction_date: DateTime,
pub amount: Option<Amount>,
pub balance_type: DebtorBalanceType,
pub description: Option<String>,
}
Fields§
§debtor_public_id: Uuid
§transaction_date: DateTime
§amount: Option<Amount>
§balance_type: DebtorBalanceType
§description: Option<String>
Implementations§
source§impl DebtorBalance
impl DebtorBalance
pub fn new( debtor_public_id: Uuid, transaction_date: DateTime, balance_type: DebtorBalanceType ) -> Self
Trait Implementations§
source§impl Clone for DebtorBalance
impl Clone for DebtorBalance
source§fn clone(&self) -> DebtorBalance
fn clone(&self) -> DebtorBalance
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 DebtorBalance
impl Debug for DebtorBalance
source§impl<'de> Deserialize<'de> for DebtorBalance
impl<'de> Deserialize<'de> for DebtorBalance
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 DebtorBalance
impl RefUnwindSafe for DebtorBalance
impl Send for DebtorBalance
impl Sync for DebtorBalance
impl Unpin for DebtorBalance
impl UnwindSafe for DebtorBalance
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