Struct stripe::InvoiceItemThresholdReason
source · pub struct InvoiceItemThresholdReason {
pub line_item_ids: Vec<String>,
pub usage_gte: i64,
}
Fields§
§line_item_ids: Vec<String>
The IDs of the line items that triggered the threshold invoice.
usage_gte: i64
The quantity threshold boundary that applied to the given line item.
Trait Implementations§
source§impl Clone for InvoiceItemThresholdReason
impl Clone for InvoiceItemThresholdReason
source§fn clone(&self) -> InvoiceItemThresholdReason
fn clone(&self) -> InvoiceItemThresholdReason
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 InvoiceItemThresholdReason
impl Debug for InvoiceItemThresholdReason
source§impl Default for InvoiceItemThresholdReason
impl Default for InvoiceItemThresholdReason
source§fn default() -> InvoiceItemThresholdReason
fn default() -> InvoiceItemThresholdReason
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for InvoiceItemThresholdReason
impl<'de> Deserialize<'de> for InvoiceItemThresholdReason
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 InvoiceItemThresholdReason
impl Send for InvoiceItemThresholdReason
impl Sync for InvoiceItemThresholdReason
impl Unpin for InvoiceItemThresholdReason
impl UnwindSafe for InvoiceItemThresholdReason
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