Struct ya_client_model::payment::invoice::NewInvoice
source · pub struct NewInvoice {
pub agreement_id: String,
pub activity_ids: Option<Vec<String>>,
pub amount: BigDecimal,
pub payment_due_date: DateTime<Utc>,
}Fields§
§agreement_id: String§activity_ids: Option<Vec<String>>§amount: BigDecimal§payment_due_date: DateTime<Utc>Trait Implementations§
source§impl Clone for NewInvoice
impl Clone for NewInvoice
source§fn clone(&self) -> NewInvoice
fn clone(&self) -> NewInvoice
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 NewInvoice
impl Debug for NewInvoice
source§impl<'de> Deserialize<'de> for NewInvoice
impl<'de> Deserialize<'de> for NewInvoice
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 NewInvoice
impl PartialEq for NewInvoice
source§fn eq(&self, other: &NewInvoice) -> bool
fn eq(&self, other: &NewInvoice) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for NewInvoice
impl Serialize for NewInvoice
impl StructuralPartialEq for NewInvoice
Auto Trait Implementations§
impl RefUnwindSafe for NewInvoice
impl Send for NewInvoice
impl Sync for NewInvoice
impl Unpin for NewInvoice
impl UnwindSafe for NewInvoice
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