Struct fastly_api::models::line_item_data::LineItemData
source · pub struct LineItemData {Show 17 fields
pub amount: Option<f32>,
pub aria_invoice_id: Option<Box<LineItemDataReadOnlyInvoiceId>>,
pub client_service_id: Option<String>,
pub credit_coupon_code: Option<String>,
pub description: Option<String>,
pub id: Option<String>,
pub line_number: Option<i32>,
pub plan_name: Option<String>,
pub plan_no: Option<f32>,
pub rate_per_unit: Option<f32>,
pub rate_schedule_no: Option<f32>,
pub rate_schedule_tier_no: Option<f32>,
pub service_name: Option<String>,
pub service_no: Option<f32>,
pub units: Option<f32>,
pub usage_type_cd: Option<String>,
pub usage_type_no: Option<f32>,
}Fields§
§amount: Option<f32>§aria_invoice_id: Option<Box<LineItemDataReadOnlyInvoiceId>>§client_service_id: Option<String>§credit_coupon_code: Option<String>§description: Option<String>§id: Option<String>§line_number: Option<i32>§plan_name: Option<String>§plan_no: Option<f32>§rate_per_unit: Option<f32>§rate_schedule_no: Option<f32>§rate_schedule_tier_no: Option<f32>§service_name: Option<String>§service_no: Option<f32>§units: Option<f32>§usage_type_cd: Option<String>§usage_type_no: Option<f32>Implementations§
source§impl LineItemData
impl LineItemData
pub fn new() -> LineItemData
Trait Implementations§
source§impl Clone for LineItemData
impl Clone for LineItemData
source§fn clone(&self) -> LineItemData
fn clone(&self) -> LineItemData
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 LineItemData
impl Debug for LineItemData
source§impl Default for LineItemData
impl Default for LineItemData
source§fn default() -> LineItemData
fn default() -> LineItemData
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LineItemData
impl<'de> Deserialize<'de> for LineItemData
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<LineItemData> for LineItemData
impl PartialEq<LineItemData> for LineItemData
source§fn eq(&self, other: &LineItemData) -> bool
fn eq(&self, other: &LineItemData) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for LineItemData
impl Serialize for LineItemData
impl StructuralPartialEq for LineItemData
Auto Trait Implementations§
impl RefUnwindSafe for LineItemData
impl Send for LineItemData
impl Sync for LineItemData
impl Unpin for LineItemData
impl UnwindSafe for LineItemData
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