#[non_exhaustive]pub struct PlanLimitPeriod {
pub id: String,
pub window_minutes: u32,
pub plan_type: String,
pub starts_at: String,
pub ends_at: String,
pub accounting_complete: bool,
pub used_basis_points: Option<Number>,
pub breakdowns: Option<Vec<PlanLimitBreakdown>>,
pub rest: Rest,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: String§window_minutes: u32§plan_type: String§starts_at: String§ends_at: String§accounting_complete: bool§used_basis_points: Option<Number>§breakdowns: Option<Vec<PlanLimitBreakdown>>§rest: RestImplementations§
Trait Implementations§
Source§impl Clone for PlanLimitPeriod
impl Clone for PlanLimitPeriod
Source§impl Debug for PlanLimitPeriod
impl Debug for PlanLimitPeriod
Source§impl DeclaredFields for PlanLimitPeriod
impl DeclaredFields for PlanLimitPeriod
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for PlanLimitPeriod
impl<'de> Deserialize<'de> for PlanLimitPeriod
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 PlanLimitPeriod
impl PartialEq for PlanLimitPeriod
Source§impl Serialize for PlanLimitPeriod
impl Serialize for PlanLimitPeriod
impl StructuralPartialEq for PlanLimitPeriod
Auto Trait Implementations§
impl Freeze for PlanLimitPeriod
impl RefUnwindSafe for PlanLimitPeriod
impl Send for PlanLimitPeriod
impl Sync for PlanLimitPeriod
impl Unpin for PlanLimitPeriod
impl UnsafeUnpin for PlanLimitPeriod
impl UnwindSafe for PlanLimitPeriod
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