pub struct BillingProduct {
pub description: Option<String>,
pub id: String,
pub name: String,
pub object: Object,
pub unit_label: Option<String>,
}Fields§
§description: Option<String>§id: StringUnique identifier for the object.
name: StringThis name will show up on associated invoice line item descriptions.
object: ObjectString representing the object’s type. Objects of the same type share the same value.
unit_label: Option<String>A label that represents units of this product. When set, this will be included in associated invoice line item descriptions.
Implementations§
Trait Implementations§
source§impl Clone for BillingProduct
impl Clone for BillingProduct
source§fn clone(&self) -> BillingProduct
fn clone(&self) -> BillingProduct
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 BillingProduct
impl Debug for BillingProduct
source§impl Default for BillingProduct
impl Default for BillingProduct
source§fn default() -> BillingProduct
fn default() -> BillingProduct
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BillingProduct
impl<'de> Deserialize<'de> for BillingProduct
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<BillingProduct> for BillingProduct
impl PartialEq<BillingProduct> for BillingProduct
source§fn eq(&self, other: &BillingProduct) -> bool
fn eq(&self, other: &BillingProduct) -> bool
This method tests for
self and other values to be equal, and is used
by ==.