pub struct RangeSlotCapacityQuery {
pub capacity_types: Option<Vec<CapacityType>>,
pub start_date_time: String,
pub end_date_time: String,
}Expand description
RangeSlotCapacityQuery : Request schema for the getRangeSlotCapacity operation. This schema is used to define the time range and capacity types that are being queried.
Fields
capacity_types: Option<Vec<CapacityType>>An array of capacity types which are being requested. Default value is [SCHEDULED_CAPACITY].
start_date_time: StringStart date time from which the capacity slots are being requested in ISO 8601 format.
end_date_time: StringEnd date time up to which the capacity slots are being requested in ISO 8601 format.
Implementations
sourceimpl RangeSlotCapacityQuery
impl RangeSlotCapacityQuery
sourcepub fn new(
start_date_time: String,
end_date_time: String
) -> RangeSlotCapacityQuery
pub fn new(
start_date_time: String,
end_date_time: String
) -> RangeSlotCapacityQuery
Request schema for the getRangeSlotCapacity operation. This schema is used to define the time range and capacity types that are being queried.
Trait Implementations
sourceimpl Clone for RangeSlotCapacityQuery
impl Clone for RangeSlotCapacityQuery
sourcefn clone(&self) -> RangeSlotCapacityQuery
fn clone(&self) -> RangeSlotCapacityQuery
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for RangeSlotCapacityQuery
impl Debug for RangeSlotCapacityQuery
sourceimpl Default for RangeSlotCapacityQuery
impl Default for RangeSlotCapacityQuery
sourcefn default() -> RangeSlotCapacityQuery
fn default() -> RangeSlotCapacityQuery
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for RangeSlotCapacityQuery
impl<'de> Deserialize<'de> for RangeSlotCapacityQuery
sourcefn 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
sourceimpl PartialEq<RangeSlotCapacityQuery> for RangeSlotCapacityQuery
impl PartialEq<RangeSlotCapacityQuery> for RangeSlotCapacityQuery
sourcefn eq(&self, other: &RangeSlotCapacityQuery) -> bool
fn eq(&self, other: &RangeSlotCapacityQuery) -> bool
sourceimpl Serialize for RangeSlotCapacityQuery
impl Serialize for RangeSlotCapacityQuery
impl StructuralPartialEq for RangeSlotCapacityQuery
Auto Trait Implementations
impl RefUnwindSafe for RangeSlotCapacityQuery
impl Send for RangeSlotCapacityQuery
impl Sync for RangeSlotCapacityQuery
impl Unpin for RangeSlotCapacityQuery
impl UnwindSafe for RangeSlotCapacityQuery
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more