pub struct CreateServiceVariationDTO {
pub service_duration: Option<f64>,
pub service_duration_unit: Option<String>,
pub pre_buffer: Option<f64>,
pub pre_buffer_unit: Option<String>,
pub post_buffer: Option<f64>,
pub post_buffer_unit: Option<String>,
pub payment: Option<PaymentDTO>,
pub name: String,
}Available on crate feature
calendars only.Expand description
CreateServiceVariationDTO from the GoHighLevel OpenAPI spec.
Fields§
§service_duration: Option<f64>This controls the duration of the appointment
service_duration_unit: Option<String>Duration unit
Allowed values: mins, hours.
pre_buffer: Option<f64>Pre-Buffer is additional time that can be added before an appointment, allowing for extra time to get ready
pre_buffer_unit: Option<String>Pre-buffer unit
Allowed values: mins, hours.
post_buffer: Option<f64>Post-buffer: Additional time that can be added after an appointment, allowing for extra time to wrap up
post_buffer_unit: Option<String>Post-buffer unit
Allowed values: mins, hours.
payment: Option<PaymentDTO>Payment details
name: StringVariation name Required by the API.
Trait Implementations§
Source§impl Clone for CreateServiceVariationDTO
impl Clone for CreateServiceVariationDTO
Source§fn clone(&self) -> CreateServiceVariationDTO
fn clone(&self) -> CreateServiceVariationDTO
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 CreateServiceVariationDTO
impl Debug for CreateServiceVariationDTO
Source§impl Default for CreateServiceVariationDTO
impl Default for CreateServiceVariationDTO
Source§fn default() -> CreateServiceVariationDTO
fn default() -> CreateServiceVariationDTO
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateServiceVariationDTO
impl<'de> Deserialize<'de> for CreateServiceVariationDTO
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 CreateServiceVariationDTO
impl RefUnwindSafe for CreateServiceVariationDTO
impl Send for CreateServiceVariationDTO
impl Sync for CreateServiceVariationDTO
impl Unpin for CreateServiceVariationDTO
impl UnsafeUnpin for CreateServiceVariationDTO
impl UnwindSafe for CreateServiceVariationDTO
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