Struct amazon_sp_services::models::appointment_slot::AppointmentSlot
source · [−]pub struct AppointmentSlot {
pub start_time: Option<String>,
pub end_time: Option<String>,
pub capacity: Option<i32>,
}Expand description
AppointmentSlot : A time window along with associated capacity in which the service can be performed.
Fields
start_time: Option<String>Time window start time in ISO 8601 format.
end_time: Option<String>Time window end time in ISO 8601 format.
capacity: Option<i32>Number of resources for which a slot can be reserved.
Implementations
sourceimpl AppointmentSlot
impl AppointmentSlot
sourcepub fn new() -> AppointmentSlot
pub fn new() -> AppointmentSlot
A time window along with associated capacity in which the service can be performed.
Trait Implementations
sourceimpl Clone for AppointmentSlot
impl Clone for AppointmentSlot
sourcefn clone(&self) -> AppointmentSlot
fn clone(&self) -> AppointmentSlot
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 AppointmentSlot
impl Debug for AppointmentSlot
sourceimpl Default for AppointmentSlot
impl Default for AppointmentSlot
sourcefn default() -> AppointmentSlot
fn default() -> AppointmentSlot
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for AppointmentSlot
impl<'de> Deserialize<'de> for AppointmentSlot
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<AppointmentSlot> for AppointmentSlot
impl PartialEq<AppointmentSlot> for AppointmentSlot
sourcefn eq(&self, other: &AppointmentSlot) -> bool
fn eq(&self, other: &AppointmentSlot) -> bool
sourceimpl Serialize for AppointmentSlot
impl Serialize for AppointmentSlot
impl StructuralPartialEq for AppointmentSlot
Auto Trait Implementations
impl RefUnwindSafe for AppointmentSlot
impl Send for AppointmentSlot
impl Sync for AppointmentSlot
impl Unpin for AppointmentSlot
impl UnwindSafe for AppointmentSlot
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