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§
Source§impl 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§
Source§impl Clone for RangeSlotCapacityQuery
impl Clone for RangeSlotCapacityQuery
Source§fn clone(&self) -> RangeSlotCapacityQuery
fn clone(&self) -> RangeSlotCapacityQuery
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 RangeSlotCapacityQuery
impl Debug for RangeSlotCapacityQuery
Source§impl Default for RangeSlotCapacityQuery
impl Default for RangeSlotCapacityQuery
Source§fn default() -> RangeSlotCapacityQuery
fn default() -> RangeSlotCapacityQuery
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RangeSlotCapacityQuery
impl<'de> Deserialize<'de> for RangeSlotCapacityQuery
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 RangeSlotCapacityQuery
impl PartialEq for RangeSlotCapacityQuery
Source§impl Serialize for RangeSlotCapacityQuery
impl Serialize for RangeSlotCapacityQuery
impl StructuralPartialEq for RangeSlotCapacityQuery
Auto Trait Implementations§
impl Freeze for RangeSlotCapacityQuery
impl RefUnwindSafe for RangeSlotCapacityQuery
impl Send for RangeSlotCapacityQuery
impl Sync for RangeSlotCapacityQuery
impl Unpin for RangeSlotCapacityQuery
impl UnwindSafe for RangeSlotCapacityQuery
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