pub struct Invoicelineitems {
pub description: Option<String>,
pub amount: Option<f32>,
pub credit_coupon_code: Option<String>,
pub rate: Option<f32>,
pub units: Option<f32>,
pub product_name: Option<String>,
pub product_group: Option<String>,
pub product_line: Option<String>,
pub region: Option<String>,
pub usage_type: Option<String>,
}
Fields§
§description: Option<String>
Invoice line item transaction name.
amount: Option<f32>
Billed amount for line item.
credit_coupon_code: Option<String>
Discount coupon associated with the invoice for any account or service credits.
rate: Option<f32>
Price per unit.
units: Option<f32>
Total number of units of usage.
product_name: Option<String>
The name of the product.
product_group: Option<String>
The broader classification of the product (e.g., Compute
or Full-Site Delivery
).
product_line: Option<String>
The broader classification of the product (e.g., Network Services
or Security
).
region: Option<String>
The geographical area applicable for regionally based products.
usage_type: Option<String>
The unit of measure (e.g., requests
or bandwidth
).
Implementations§
Source§impl Invoicelineitems
impl Invoicelineitems
pub fn new() -> Invoicelineitems
Trait Implementations§
Source§impl Clone for Invoicelineitems
impl Clone for Invoicelineitems
Source§fn clone(&self) -> Invoicelineitems
fn clone(&self) -> Invoicelineitems
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 Invoicelineitems
impl Debug for Invoicelineitems
Source§impl Default for Invoicelineitems
impl Default for Invoicelineitems
Source§fn default() -> Invoicelineitems
fn default() -> Invoicelineitems
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Invoicelineitems
impl<'de> Deserialize<'de> for Invoicelineitems
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
Source§impl PartialEq for Invoicelineitems
impl PartialEq for Invoicelineitems
Source§impl Serialize for Invoicelineitems
impl Serialize for Invoicelineitems
impl StructuralPartialEq for Invoicelineitems
Auto Trait Implementations§
impl Freeze for Invoicelineitems
impl RefUnwindSafe for Invoicelineitems
impl Send for Invoicelineitems
impl Sync for Invoicelineitems
impl Unpin for Invoicelineitems
impl UnwindSafe for Invoicelineitems
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