pub struct CreateServiceLocationDTO {
pub location_id: String,
pub name: String,
pub slug: String,
pub phone: Option<String>,
pub address: Option<String>,
pub cover_image: Option<String>,
pub location_type: Option<String>,
}Available on crate feature
calendars only.Expand description
CreateServiceLocationDTO from the GoHighLevel OpenAPI spec.
Fields§
§location_id: StringLocation ID Required by the API.
name: StringLocation name Required by the API.
slug: StringURL-friendly slug identifier Required by the API.
phone: Option<String>Phone number
address: Option<String>Use a full street address when locationType is offline. Use a user-facing label when locationType is ask_booker.
cover_image: Option<String>URL of the cover image for this service location
location_type: Option<String>Location type
Allowed values: offline, ask_booker.
Trait Implementations§
Source§impl Clone for CreateServiceLocationDTO
impl Clone for CreateServiceLocationDTO
Source§fn clone(&self) -> CreateServiceLocationDTO
fn clone(&self) -> CreateServiceLocationDTO
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 CreateServiceLocationDTO
impl Debug for CreateServiceLocationDTO
Source§impl Default for CreateServiceLocationDTO
impl Default for CreateServiceLocationDTO
Source§fn default() -> CreateServiceLocationDTO
fn default() -> CreateServiceLocationDTO
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateServiceLocationDTO
impl<'de> Deserialize<'de> for CreateServiceLocationDTO
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 CreateServiceLocationDTO
impl RefUnwindSafe for CreateServiceLocationDTO
impl Send for CreateServiceLocationDTO
impl Sync for CreateServiceLocationDTO
impl Unpin for CreateServiceLocationDTO
impl UnsafeUnpin for CreateServiceLocationDTO
impl UnwindSafe for CreateServiceLocationDTO
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