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