pub struct AppointmentBookingCreate {
pub afterward_minutes: i64,
pub lead_time_minutes: i64,
pub quantity: Option<i64>,
pub resource_id: i64,
pub status_id: i64,
pub extra: Map<String, Value>,
}Expand description
Book one resource for the appointment and its recurrence pattern. leadTimeMinutes and afterwardMinutes extend the resource reservation around each occurrence.
Fields§
§afterward_minutes: i64Minutes after the appointment during which the resource is blocked.
lead_time_minutes: i64Minutes before the appointment during which the resource is blocked.
quantity: Option<i64>§resource_id: i64ID of the resource to reserve; use each resource only once.
status_id: i64Resource booking state: 1 = pending, 2 = approved, 3 = rejected. The requested state is subject to booking permissions.
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 AppointmentBookingCreate
impl Clone for AppointmentBookingCreate
Source§impl Debug for AppointmentBookingCreate
impl Debug for AppointmentBookingCreate
Source§impl Default for AppointmentBookingCreate
impl Default for AppointmentBookingCreate
Source§impl<'de> Deserialize<'de> for AppointmentBookingCreate
impl<'de> Deserialize<'de> for AppointmentBookingCreate
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 AppointmentBookingCreate
impl PartialEq for AppointmentBookingCreate
Source§impl Serialize for AppointmentBookingCreate
impl Serialize for AppointmentBookingCreate
impl StructuralPartialEq for AppointmentBookingCreate
Auto Trait Implementations§
impl Freeze for AppointmentBookingCreate
impl RefUnwindSafe for AppointmentBookingCreate
impl Send for AppointmentBookingCreate
impl Sync for AppointmentBookingCreate
impl Unpin for AppointmentBookingCreate
impl UnsafeUnpin for AppointmentBookingCreate
impl UnwindSafe for AppointmentBookingCreate
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