pub struct BookingAppointmentUpdate {
pub description: Option<Option<String>>,
pub status_id: Option<i64>,
pub extra: Map<String, Value>,
}Expand description
For an appointment-linked booking, only status and description can be changed here. Change the resource and schedule through the linked appointment.
Fields§
§description: Option<Option<String>>Booking notes.
None leaves the field out, Some(None) sends null.
status_id: Option<i64>Booking status: 1 = pending approval, 2 = approved, 3 = rejected. Rejected bookings are excluded from conflict checks.
Allowed values: 1, 2, 3.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for BookingAppointmentUpdate
impl Clone for BookingAppointmentUpdate
Source§impl Debug for BookingAppointmentUpdate
impl Debug for BookingAppointmentUpdate
Source§impl Default for BookingAppointmentUpdate
impl Default for BookingAppointmentUpdate
Source§impl<'de> Deserialize<'de> for BookingAppointmentUpdate
impl<'de> Deserialize<'de> for BookingAppointmentUpdate
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 BookingAppointmentUpdate
impl PartialEq for BookingAppointmentUpdate
Source§impl Serialize for BookingAppointmentUpdate
impl Serialize for BookingAppointmentUpdate
impl StructuralPartialEq for BookingAppointmentUpdate
Auto Trait Implementations§
impl Freeze for BookingAppointmentUpdate
impl RefUnwindSafe for BookingAppointmentUpdate
impl Send for BookingAppointmentUpdate
impl Sync for BookingAppointmentUpdate
impl Unpin for BookingAppointmentUpdate
impl UnsafeUnpin for BookingAppointmentUpdate
impl UnwindSafe for BookingAppointmentUpdate
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