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: Stringactivity_ids: Option<Vec<String>>amount: BigDecimalpayment_due_date: DateTime<Utc>Trait Implementations
sourceimpl Clone for NewInvoice
impl Clone for NewInvoice
sourcefn clone(&self) -> NewInvoice
fn clone(&self) -> NewInvoice
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for NewInvoice
impl Debug for NewInvoice
sourceimpl<'de> Deserialize<'de> for NewInvoice
impl<'de> Deserialize<'de> for NewInvoice
sourcefn 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
sourceimpl PartialEq<NewInvoice> for NewInvoice
impl PartialEq<NewInvoice> for NewInvoice
sourcefn 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 ==. Read more
sourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more