pub struct ServiceVariationDTO {
pub id: Option<String>,
pub name: Option<String>,
pub service_duration: Option<f64>,
pub service_duration_unit: Option<String>,
pub payment: Option<PaymentDTO>,
pub pre_buffer: Option<f64>,
pub pre_buffer_unit: Option<String>,
pub post_buffer: Option<f64>,
pub post_buffer_unit: Option<String>,
}Available on crate feature
calendars only.Expand description
ServiceVariationDTO from the GoHighLevel OpenAPI spec.
Fields§
§id: Option<String>Variation ID Required by the API. (Optional here so responses that omit it still parse.)
name: Option<String>Variation name Required by the API. (Optional here so responses that omit it still parse.)
service_duration: Option<f64>This controls the duration of the appointment
service_duration_unit: Option<String>Duration unit
Allowed values: mins, hours.
payment: Option<PaymentDTO>Payment details
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.
Trait Implementations§
Source§impl Clone for ServiceVariationDTO
impl Clone for ServiceVariationDTO
Source§fn clone(&self) -> ServiceVariationDTO
fn clone(&self) -> ServiceVariationDTO
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 ServiceVariationDTO
impl Debug for ServiceVariationDTO
Source§impl Default for ServiceVariationDTO
impl Default for ServiceVariationDTO
Source§fn default() -> ServiceVariationDTO
fn default() -> ServiceVariationDTO
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ServiceVariationDTO
impl<'de> Deserialize<'de> for ServiceVariationDTO
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 ServiceVariationDTO
impl RefUnwindSafe for ServiceVariationDTO
impl Send for ServiceVariationDTO
impl Sync for ServiceVariationDTO
impl Unpin for ServiceVariationDTO
impl UnsafeUnpin for ServiceVariationDTO
impl UnwindSafe for ServiceVariationDTO
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