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>
Pricing period end date. This date must be later than, or the same day as, the pricing period start date, but not later than the placement end date. The period end date can be the same date as the period start date. If, for example, you set 6/25/2015 as both the start and end dates, the effective pricing period date is just that day only, 6/25/2015. The hours, minutes, and seconds of the end date should not be set, as doing so will result in an error.
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>
Pricing period start date. This date must be later than, or the same day as, the placement start date. The hours, minutes, and seconds of the start date should not be set, as doing so will result in an error.
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more