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 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 InvoiceThresholdReason
impl Debug for InvoiceThresholdReason
source§impl Default for InvoiceThresholdReason
impl Default for InvoiceThresholdReason
source§fn default() -> InvoiceThresholdReason
fn default() -> InvoiceThresholdReason
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for InvoiceThresholdReason
impl<'de> Deserialize<'de> for InvoiceThresholdReason
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 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