pub struct ServiceDTO {
pub id: Option<String>,
pub service_category_id: Option<String>,
pub service_staff_id: Option<String>,
pub service_start_time: Option<String>,
pub service_end_time: Option<String>,
pub service_resources: Vec<ServiceResourceDTO>,
pub service_add_ons: Vec<ServiceAddOnResponseDTO>,
}Available on crate feature
calendars only.Expand description
ServiceDTO from the GoHighLevel OpenAPI spec.
Fields§
§id: Option<String>Service ID Required by the API. (Optional here so responses that omit it still parse.)
service_category_id: Option<String>Service Category ID Required by the API. (Optional here so responses that omit it still parse.)
service_staff_id: Option<String>Service Staff ID Required by the API. (Optional here so responses that omit it still parse.)
service_start_time: Option<String>Service Start Time Required by the API. (Optional here so responses that omit it still parse.)
service_end_time: Option<String>Service End Time Required by the API. (Optional here so responses that omit it still parse.)
service_resources: Vec<ServiceResourceDTO>Service Resources
service_add_ons: Vec<ServiceAddOnResponseDTO>Service Add-ons
Trait Implementations§
Source§impl Clone for ServiceDTO
impl Clone for ServiceDTO
Source§fn clone(&self) -> ServiceDTO
fn clone(&self) -> ServiceDTO
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 ServiceDTO
impl Debug for ServiceDTO
Source§impl Default for ServiceDTO
impl Default for ServiceDTO
Source§fn default() -> ServiceDTO
fn default() -> ServiceDTO
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ServiceDTO
impl<'de> Deserialize<'de> for ServiceDTO
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 ServiceDTO
impl RefUnwindSafe for ServiceDTO
impl Send for ServiceDTO
impl Sync for ServiceDTO
impl Unpin for ServiceDTO
impl UnsafeUnpin for ServiceDTO
impl UnwindSafe for ServiceDTO
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