pub struct Appointment {
pub appointment_id: Option<String>,
pub appointment_status: Option<AppointmentStatus>,
pub appointment_time: Option<Box<AppointmentTime>>,
pub assigned_technicians: Option<Vec<Technician>>,
pub rescheduled_appointment_id: Option<String>,
pub poa: Option<Box<Poa>>,
}Expand description
Appointment : The details of an appointment.
Fields§
§appointment_id: Option<String>The appointment identifier.
appointment_status: Option<AppointmentStatus>The status of the appointment.
appointment_time: Option<Box<AppointmentTime>>§assigned_technicians: Option<Vec<Technician>>A list of technicians assigned to the service job.
rescheduled_appointment_id: Option<String>The appointment identifier.
poa: Option<Box<Poa>>Implementations§
Source§impl Appointment
impl Appointment
Sourcepub fn new() -> Appointment
pub fn new() -> Appointment
The details of an appointment.
Trait Implementations§
Source§impl Clone for Appointment
impl Clone for Appointment
Source§fn clone(&self) -> Appointment
fn clone(&self) -> Appointment
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 Appointment
impl Debug for Appointment
Source§impl Default for Appointment
impl Default for Appointment
Source§fn default() -> Appointment
fn default() -> Appointment
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Appointment
impl<'de> Deserialize<'de> for Appointment
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 Appointment
impl PartialEq for Appointment
Source§impl Serialize for Appointment
impl Serialize for Appointment
impl StructuralPartialEq for Appointment
Auto Trait Implementations§
impl Freeze for Appointment
impl RefUnwindSafe for Appointment
impl Send for Appointment
impl Sync for Appointment
impl Unpin for Appointment
impl UnwindSafe for Appointment
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