pub struct FixedSlotCapacity {
pub resource_id: Option<String>,
pub slot_duration: Option<f32>,
pub capacities: Option<Vec<FixedSlot>>,
pub next_page_token: Option<String>,
}Expand description
FixedSlotCapacity : Response schema for the getFixedSlotCapacity operation.
Fields
resource_id: Option<String>Resource Identifier.
slot_duration: Option<f32>The duration of each slot which is returned. This value will be a multiple of 5 and fall in the following range: 5 <= slotDuration <= 360.
capacities: Option<Vec<FixedSlot>>Array of capacity slots in fixed slot format.
next_page_token: Option<String>Next page token, if there are more pages.
Implementations
sourceimpl FixedSlotCapacity
impl FixedSlotCapacity
sourcepub fn new() -> FixedSlotCapacity
pub fn new() -> FixedSlotCapacity
Response schema for the getFixedSlotCapacity operation.
Trait Implementations
sourceimpl Clone for FixedSlotCapacity
impl Clone for FixedSlotCapacity
sourcefn clone(&self) -> FixedSlotCapacity
fn clone(&self) -> FixedSlotCapacity
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 FixedSlotCapacity
impl Debug for FixedSlotCapacity
sourceimpl Default for FixedSlotCapacity
impl Default for FixedSlotCapacity
sourcefn default() -> FixedSlotCapacity
fn default() -> FixedSlotCapacity
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for FixedSlotCapacity
impl<'de> Deserialize<'de> for FixedSlotCapacity
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<FixedSlotCapacity> for FixedSlotCapacity
impl PartialEq<FixedSlotCapacity> for FixedSlotCapacity
sourcefn eq(&self, other: &FixedSlotCapacity) -> bool
fn eq(&self, other: &FixedSlotCapacity) -> bool
sourceimpl Serialize for FixedSlotCapacity
impl Serialize for FixedSlotCapacity
impl StructuralPartialEq for FixedSlotCapacity
Auto Trait Implementations
impl RefUnwindSafe for FixedSlotCapacity
impl Send for FixedSlotCapacity
impl Sync for FixedSlotCapacity
impl Unpin for FixedSlotCapacity
impl UnwindSafe for FixedSlotCapacity
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