pub struct CreateBookingServiceDTO {
pub id: String,
pub staff_id: Option<String>,
pub position: Option<f64>,
pub add_ons: Vec<ServiceAddOnDTO>,
}Available on crate feature
calendars only.Expand description
CreateBookingServiceDTO from the GoHighLevel OpenAPI spec.
Fields§
§id: StringService ID Required by the API.
staff_id: Option<String>Staff ID
position: Option<f64>Position
add_ons: Vec<ServiceAddOnDTO>Add-ons
Trait Implementations§
Source§impl Clone for CreateBookingServiceDTO
impl Clone for CreateBookingServiceDTO
Source§fn clone(&self) -> CreateBookingServiceDTO
fn clone(&self) -> CreateBookingServiceDTO
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 CreateBookingServiceDTO
impl Debug for CreateBookingServiceDTO
Source§impl Default for CreateBookingServiceDTO
impl Default for CreateBookingServiceDTO
Source§fn default() -> CreateBookingServiceDTO
fn default() -> CreateBookingServiceDTO
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateBookingServiceDTO
impl<'de> Deserialize<'de> for CreateBookingServiceDTO
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
Auto Trait Implementations§
impl Freeze for CreateBookingServiceDTO
impl RefUnwindSafe for CreateBookingServiceDTO
impl Send for CreateBookingServiceDTO
impl Sync for CreateBookingServiceDTO
impl Unpin for CreateBookingServiceDTO
impl UnsafeUnpin for CreateBookingServiceDTO
impl UnwindSafe for CreateBookingServiceDTO
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