pub struct InvoiceThresholdReason {
pub amount_gte: Option<i64>,
pub item_reasons: Vec<InvoiceItemThresholdReason>,
}Fields§
§amount_gte: Option<i64>The total invoice amount threshold boundary if it triggered the threshold invoice.
item_reasons: Vec<InvoiceItemThresholdReason>Indicates which line items triggered a threshold invoice.
Trait Implementations§
Source§impl Clone for InvoiceThresholdReason
impl Clone for InvoiceThresholdReason
Source§fn clone(&self) -> InvoiceThresholdReason
fn clone(&self) -> InvoiceThresholdReason
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InvoiceThresholdReason
impl Debug for InvoiceThresholdReason
Source§impl Deserialize for InvoiceThresholdReason
impl Deserialize for InvoiceThresholdReason
Source§impl FromValueOpt for InvoiceThresholdReason
impl FromValueOpt for InvoiceThresholdReason
fn from_value(v: Value) -> Option<Self>
Source§impl ObjectDeser for InvoiceThresholdReason
impl ObjectDeser for InvoiceThresholdReason
Source§impl PartialEq for InvoiceThresholdReason
impl PartialEq for InvoiceThresholdReason
Source§fn eq(&self, other: &InvoiceThresholdReason) -> bool
fn eq(&self, other: &InvoiceThresholdReason) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for InvoiceThresholdReason
impl StructuralPartialEq for InvoiceThresholdReason
Auto Trait Implementations§
impl Freeze for InvoiceThresholdReason
impl RefUnwindSafe for InvoiceThresholdReason
impl Send for InvoiceThresholdReason
impl Sync for InvoiceThresholdReason
impl Unpin for InvoiceThresholdReason
impl UnsafeUnpin for InvoiceThresholdReason
impl UnwindSafe for InvoiceThresholdReason
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