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 · 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>
Auto Trait Implementations§
impl Freeze for InvoiceThresholdReason
impl RefUnwindSafe for InvoiceThresholdReason
impl Send for InvoiceThresholdReason
impl Sync for InvoiceThresholdReason
impl Unpin 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