pub struct FixedSlot {
pub start_date_time: Option<String>,
pub scheduled_capacity: Option<i32>,
pub available_capacity: Option<i32>,
pub encumbered_capacity: Option<i32>,
pub reserved_capacity: Option<i32>,
}Expand description
FixedSlot : In this slot format each slot only has the requested capacity types. This slot size is as specified by slot duration.
Fields§
§start_date_time: Option<String>Start date time of slot in ISO 8601 format with precision of seconds.
scheduled_capacity: Option<i32>Scheduled capacity corresponding to the slot. This capacity represents the originally allocated capacity as per resource schedule.
available_capacity: Option<i32>Available capacity corresponding to the slot. This capacity represents the capacity available for allocation to reservations.
encumbered_capacity: Option<i32>Encumbered capacity corresponding to the slot. This capacity represents the capacity allocated for Amazon Jobs/Appointments/Orders.
reserved_capacity: Option<i32>Reserved capacity corresponding to the slot. This capacity represents the capacity made unavailable due to events like Breaks/Leaves/Lunch.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FixedSlot
impl<'de> Deserialize<'de> for FixedSlot
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
impl StructuralPartialEq for FixedSlot
Auto Trait Implementations§
impl Freeze for FixedSlot
impl RefUnwindSafe for FixedSlot
impl Send for FixedSlot
impl Sync for FixedSlot
impl Unpin for FixedSlot
impl UnsafeUnpin for FixedSlot
impl UnwindSafe for FixedSlot
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