pub struct AppointmentTime {
pub start_time: String,
pub duration_in_minutes: i32,
}Expand description
AppointmentTime : The time of the appointment window.
Fields§
§start_time: StringThe date and time of the start of the appointment window in ISO 8601 format.
duration_in_minutes: i32The duration of the appointment window, in minutes.
Implementations§
Source§impl AppointmentTime
impl AppointmentTime
Sourcepub fn new(start_time: String, duration_in_minutes: i32) -> AppointmentTime
pub fn new(start_time: String, duration_in_minutes: i32) -> AppointmentTime
The time of the appointment window.
Trait Implementations§
Source§impl Clone for AppointmentTime
impl Clone for AppointmentTime
Source§fn clone(&self) -> AppointmentTime
fn clone(&self) -> AppointmentTime
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 AppointmentTime
impl Debug for AppointmentTime
Source§impl Default for AppointmentTime
impl Default for AppointmentTime
Source§fn default() -> AppointmentTime
fn default() -> AppointmentTime
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AppointmentTime
impl<'de> Deserialize<'de> for AppointmentTime
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 AppointmentTime
impl PartialEq for AppointmentTime
Source§impl Serialize for AppointmentTime
impl Serialize for AppointmentTime
impl StructuralPartialEq for AppointmentTime
Auto Trait Implementations§
impl Freeze for AppointmentTime
impl RefUnwindSafe for AppointmentTime
impl Send for AppointmentTime
impl Sync for AppointmentTime
impl Unpin for AppointmentTime
impl UnwindSafe for AppointmentTime
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