pub struct FixedSlotCapacityQuery {
pub capacity_types: Option<Vec<CapacityType>>,
pub slot_duration: Option<f32>,
pub start_date_time: String,
pub end_date_time: String,
}Expand description
FixedSlotCapacityQuery : Request schema for the getFixedSlotCapacity operation. This schema is used to define the time range, capacity types and slot duration which are being queried.
Fields
capacity_types: Option<Vec<CapacityType>>An array of capacity types which are being requested. Default value is [SCHEDULED_CAPACITY].
slot_duration: Option<f32>Size in which slots are being requested. This value should be a multiple of 5 and fall in the range: 5 <= slotDuration <= 360.
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 FixedSlotCapacityQuery
impl FixedSlotCapacityQuery
sourcepub fn new(
start_date_time: String,
end_date_time: String
) -> FixedSlotCapacityQuery
pub fn new(
start_date_time: String,
end_date_time: String
) -> FixedSlotCapacityQuery
Request schema for the getFixedSlotCapacity operation. This schema is used to define the time range, capacity types and slot duration which are being queried.
Trait Implementations
sourceimpl Clone for FixedSlotCapacityQuery
impl Clone for FixedSlotCapacityQuery
sourcefn clone(&self) -> FixedSlotCapacityQuery
fn clone(&self) -> FixedSlotCapacityQuery
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 FixedSlotCapacityQuery
impl Debug for FixedSlotCapacityQuery
sourceimpl Default for FixedSlotCapacityQuery
impl Default for FixedSlotCapacityQuery
sourcefn default() -> FixedSlotCapacityQuery
fn default() -> FixedSlotCapacityQuery
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for FixedSlotCapacityQuery
impl<'de> Deserialize<'de> for FixedSlotCapacityQuery
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<FixedSlotCapacityQuery> for FixedSlotCapacityQuery
impl PartialEq<FixedSlotCapacityQuery> for FixedSlotCapacityQuery
sourcefn eq(&self, other: &FixedSlotCapacityQuery) -> bool
fn eq(&self, other: &FixedSlotCapacityQuery) -> bool
sourceimpl Serialize for FixedSlotCapacityQuery
impl Serialize for FixedSlotCapacityQuery
impl StructuralPartialEq for FixedSlotCapacityQuery
Auto Trait Implementations
impl RefUnwindSafe for FixedSlotCapacityQuery
impl Send for FixedSlotCapacityQuery
impl Sync for FixedSlotCapacityQuery
impl Unpin for FixedSlotCapacityQuery
impl UnwindSafe for FixedSlotCapacityQuery
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