pub struct UserBillingCycle {
pub start: NaiveDate,
pub end: NaiveDate,
}Expand description
Sub-Response for the /user/me/usage backend endpoint
Fields§
§start: NaiveDateBilling cycle start, or monthly from user creation depending on the account tier
end: NaiveDateBilling cycle end, or end of month from user creation depending on the account tier
Trait Implementations§
Source§impl Clone for UserBillingCycle
impl Clone for UserBillingCycle
Source§fn clone(&self) -> UserBillingCycle
fn clone(&self) -> UserBillingCycle
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 UserBillingCycle
impl Debug for UserBillingCycle
Source§impl Default for UserBillingCycle
impl Default for UserBillingCycle
Source§fn default() -> UserBillingCycle
fn default() -> UserBillingCycle
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UserBillingCycle
impl<'de> Deserialize<'de> for UserBillingCycle
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 UserBillingCycle
impl PartialEq for UserBillingCycle
Source§impl Serialize for UserBillingCycle
impl Serialize for UserBillingCycle
impl Eq for UserBillingCycle
impl StructuralPartialEq for UserBillingCycle
Auto Trait Implementations§
impl Freeze for UserBillingCycle
impl RefUnwindSafe for UserBillingCycle
impl Send for UserBillingCycle
impl Sync for UserBillingCycle
impl Unpin for UserBillingCycle
impl UnwindSafe for UserBillingCycle
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