pub struct FixedSlotCapacity {
pub resource_id: Option<String>,
pub slot_duration: Option<f64>,
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<f64>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§
Source§impl FixedSlotCapacity
impl FixedSlotCapacity
Sourcepub fn new() -> FixedSlotCapacity
pub fn new() -> FixedSlotCapacity
Response schema for the getFixedSlotCapacity operation.
Trait Implementations§
Source§impl Clone for FixedSlotCapacity
impl Clone for FixedSlotCapacity
Source§fn clone(&self) -> FixedSlotCapacity
fn clone(&self) -> FixedSlotCapacity
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 FixedSlotCapacity
impl Debug for FixedSlotCapacity
Source§impl Default for FixedSlotCapacity
impl Default for FixedSlotCapacity
Source§fn default() -> FixedSlotCapacity
fn default() -> FixedSlotCapacity
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FixedSlotCapacity
impl<'de> Deserialize<'de> for FixedSlotCapacity
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 FixedSlotCapacity
impl PartialEq for FixedSlotCapacity
Source§impl Serialize for FixedSlotCapacity
impl Serialize for FixedSlotCapacity
impl StructuralPartialEq for FixedSlotCapacity
Auto Trait Implementations§
impl Freeze for FixedSlotCapacity
impl RefUnwindSafe for FixedSlotCapacity
impl Send for FixedSlotCapacity
impl Sync for FixedSlotCapacity
impl Unpin for FixedSlotCapacity
impl UnwindSafe for FixedSlotCapacity
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