pub struct UpdateServiceVariationDTO {
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 id: Option<String>,
pub name: Option<String>,
}Available on crate feature
calendars only.Expand description
UpdateServiceVariationDTO 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
id: Option<String>Variation ID
name: Option<String>Variation name
Trait Implementations§
Source§impl Clone for UpdateServiceVariationDTO
impl Clone for UpdateServiceVariationDTO
Source§fn clone(&self) -> UpdateServiceVariationDTO
fn clone(&self) -> UpdateServiceVariationDTO
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 UpdateServiceVariationDTO
impl Debug for UpdateServiceVariationDTO
Source§impl Default for UpdateServiceVariationDTO
impl Default for UpdateServiceVariationDTO
Source§fn default() -> UpdateServiceVariationDTO
fn default() -> UpdateServiceVariationDTO
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateServiceVariationDTO
impl<'de> Deserialize<'de> for UpdateServiceVariationDTO
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 UpdateServiceVariationDTO
impl RefUnwindSafe for UpdateServiceVariationDTO
impl Send for UpdateServiceVariationDTO
impl Sync for UpdateServiceVariationDTO
impl Unpin for UpdateServiceVariationDTO
impl UnsafeUnpin for UpdateServiceVariationDTO
impl UnwindSafe for UpdateServiceVariationDTO
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