pub struct BookingBookRequest {
pub source_id: String,
pub start: String,
pub duration_mins: u32,
pub timezone: String,
pub caller_number: String,
pub caller_name: Option<String>,
}Expand description
Body of POST /api/voice/booking/book.
Idempotent on source_id: a retried request for a call that already
has an appointment answers booked with the existing event’s start,
without touching the calendar. A timed-out request is therefore safe
to repeat.
Fields§
§source_id: String§start: StringOne of the starts /slots handed back, verbatim.
duration_mins: u32§timezone: String§caller_number: StringWho is booking, for the calendar entry. Empty when the call carried no caller id.
caller_name: Option<String>Trait Implementations§
Source§impl Clone for BookingBookRequest
impl Clone for BookingBookRequest
Source§fn clone(&self) -> BookingBookRequest
fn clone(&self) -> BookingBookRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BookingBookRequest
impl Debug for BookingBookRequest
Source§impl<'de> Deserialize<'de> for BookingBookRequest
impl<'de> Deserialize<'de> for BookingBookRequest
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
impl Eq for BookingBookRequest
Source§impl PartialEq for BookingBookRequest
impl PartialEq for BookingBookRequest
Source§impl Serialize for BookingBookRequest
impl Serialize for BookingBookRequest
impl StructuralPartialEq for BookingBookRequest
Auto Trait Implementations§
impl Freeze for BookingBookRequest
impl RefUnwindSafe for BookingBookRequest
impl Send for BookingBookRequest
impl Sync for BookingBookRequest
impl Unpin for BookingBookRequest
impl UnsafeUnpin for BookingBookRequest
impl UnwindSafe for BookingBookRequest
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