pub struct BillingPeriod {
pub start_date: Option<String>,
pub end_date: Option<String>,
pub credits_included: Option<f64>,
pub credits_used: Option<f64>,
}Expand description
Billing period
Fields§
§start_date: Option<String>Start date (YYYY-MM-DD)
end_date: Option<String>End date (YYYY-MM-DD)
credits_included: Option<f64>Credits included in plan
credits_used: Option<f64>Credits used
Trait Implementations§
Source§impl Clone for BillingPeriod
impl Clone for BillingPeriod
Source§fn clone(&self) -> BillingPeriod
fn clone(&self) -> BillingPeriod
Returns a duplicate 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 BillingPeriod
impl Debug for BillingPeriod
Source§impl<'de> Deserialize<'de> for BillingPeriod
impl<'de> Deserialize<'de> for BillingPeriod
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
Auto Trait Implementations§
impl Freeze for BillingPeriod
impl RefUnwindSafe for BillingPeriod
impl Send for BillingPeriod
impl Sync for BillingPeriod
impl Unpin for BillingPeriod
impl UnwindSafe for BillingPeriod
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