pub struct PricingSchedulePricingPeriod {
pub end_date: Option<NaiveDate>,
pub pricing_comment: Option<String>,
pub rate_or_cost_nanos: Option<i64>,
pub start_date: Option<NaiveDate>,
pub units: Option<i64>,
}
Expand description
Pricing Period
This type is not used in any activity, and only used as part of another schema.
Fields§
§end_date: Option<NaiveDate>
no description provided
pricing_comment: Option<String>
Comments for this pricing period.
rate_or_cost_nanos: Option<i64>
Rate or cost of this pricing period in nanos (i.e., multipled by 1000000000). Acceptable values are 0 to 1000000000000000000, inclusive.
start_date: Option<NaiveDate>
no description provided
units: Option<i64>
Units of this pricing period. Acceptable values are 0 to 10000000000, inclusive.
Trait Implementations§
source§impl Clone for PricingSchedulePricingPeriod
impl Clone for PricingSchedulePricingPeriod
source§fn clone(&self) -> PricingSchedulePricingPeriod
fn clone(&self) -> PricingSchedulePricingPeriod
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 PricingSchedulePricingPeriod
impl Debug for PricingSchedulePricingPeriod
source§impl Default for PricingSchedulePricingPeriod
impl Default for PricingSchedulePricingPeriod
source§fn default() -> PricingSchedulePricingPeriod
fn default() -> PricingSchedulePricingPeriod
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PricingSchedulePricingPeriod
impl<'de> Deserialize<'de> for PricingSchedulePricingPeriod
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
impl Part for PricingSchedulePricingPeriod
Auto Trait Implementations§
impl RefUnwindSafe for PricingSchedulePricingPeriod
impl Send for PricingSchedulePricingPeriod
impl Sync for PricingSchedulePricingPeriod
impl Unpin for PricingSchedulePricingPeriod
impl UnwindSafe for PricingSchedulePricingPeriod
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