#[non_exhaustive]pub struct PlanLimitHistory {
pub data_as_of: Option<String>,
pub coverage_start: Option<String>,
pub coverage_complete: bool,
pub approximate: bool,
pub boundary_tolerance_seconds: Option<u32>,
pub periods: Vec<PlanLimitPeriod>,
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.data_as_of: Option<String>§coverage_start: Option<String>§coverage_complete: bool§approximate: bool§boundary_tolerance_seconds: Option<u32>§periods: Vec<PlanLimitPeriod>§rest: RestImplementations§
Source§impl PlanLimitHistory
impl PlanLimitHistory
Sourcepub fn builder(
coverage_complete: bool,
approximate: bool,
periods: Vec<PlanLimitPeriod>,
) -> PlanLimitHistoryBuilder
pub fn builder( coverage_complete: bool, approximate: bool, periods: Vec<PlanLimitPeriod>, ) -> PlanLimitHistoryBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl Clone for PlanLimitHistory
impl Clone for PlanLimitHistory
Source§impl Debug for PlanLimitHistory
impl Debug for PlanLimitHistory
Source§impl DeclaredFields for PlanLimitHistory
impl DeclaredFields for PlanLimitHistory
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for PlanLimitHistory
impl<'de> Deserialize<'de> for PlanLimitHistory
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 PlanLimitHistory
impl PartialEq for PlanLimitHistory
Source§impl Serialize for PlanLimitHistory
impl Serialize for PlanLimitHistory
impl StructuralPartialEq for PlanLimitHistory
Auto Trait Implementations§
impl Freeze for PlanLimitHistory
impl RefUnwindSafe for PlanLimitHistory
impl Send for PlanLimitHistory
impl Sync for PlanLimitHistory
impl Unpin for PlanLimitHistory
impl UnsafeUnpin for PlanLimitHistory
impl UnwindSafe for PlanLimitHistory
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