pub struct BillingPriceRecurrence {
pub aggregate_usage: Option<AggregateUsage>,
pub interval: Interval,
pub interval_count: Option<i64>,
pub usage_type: Option<UsageType>,
}Fields§
§aggregate_usage: Option<AggregateUsage>§interval: Interval§interval_count: Option<i64>§usage_type: Option<UsageType>Implementations§
source§impl BillingPriceRecurrence
impl BillingPriceRecurrence
sourcepub fn new(interval: Interval) -> BillingPriceRecurrence
pub fn new(interval: Interval) -> BillingPriceRecurrence
The recurring components of a price such as interval and usageType.
Trait Implementations§
source§impl Clone for BillingPriceRecurrence
impl Clone for BillingPriceRecurrence
source§fn clone(&self) -> BillingPriceRecurrence
fn clone(&self) -> BillingPriceRecurrence
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 BillingPriceRecurrence
impl Debug for BillingPriceRecurrence
source§impl Default for BillingPriceRecurrence
impl Default for BillingPriceRecurrence
source§fn default() -> BillingPriceRecurrence
fn default() -> BillingPriceRecurrence
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BillingPriceRecurrence
impl<'de> Deserialize<'de> for BillingPriceRecurrence
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 BillingPriceRecurrence
impl PartialEq for BillingPriceRecurrence
source§fn eq(&self, other: &BillingPriceRecurrence) -> bool
fn eq(&self, other: &BillingPriceRecurrence) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for BillingPriceRecurrence
impl Serialize for BillingPriceRecurrence
impl StructuralPartialEq for BillingPriceRecurrence
Auto Trait Implementations§
impl RefUnwindSafe for BillingPriceRecurrence
impl Send for BillingPriceRecurrence
impl Sync for BillingPriceRecurrence
impl Unpin for BillingPriceRecurrence
impl UnwindSafe for BillingPriceRecurrence
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