pub struct CreateWidgetDTO {
pub version: f64,
pub chat_type: String,
pub name: String,
pub location_id: String,
pub deleted: Option<bool>,
pub default: Option<bool>,
pub settings: Option<WidgetSettingsDTO>,
}Available on crate feature
chat-widget only.Expand description
CreateWidgetDTO from the GoHighLevel OpenAPI spec.
Fields§
§version: f64Version Required by the API.
chat_type: StringChat type
Allowed values: liveChat, emailChat.
Required by the API.
name: StringName Required by the API.
location_id: StringLocation ID Required by the API.
deleted: Option<bool>Deleted
default: Option<bool>Default
settings: Option<WidgetSettingsDTO>Settings
Trait Implementations§
Source§impl Clone for CreateWidgetDTO
impl Clone for CreateWidgetDTO
Source§fn clone(&self) -> CreateWidgetDTO
fn clone(&self) -> CreateWidgetDTO
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 CreateWidgetDTO
impl Debug for CreateWidgetDTO
Source§impl Default for CreateWidgetDTO
impl Default for CreateWidgetDTO
Source§fn default() -> CreateWidgetDTO
fn default() -> CreateWidgetDTO
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateWidgetDTO
impl<'de> Deserialize<'de> for CreateWidgetDTO
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 CreateWidgetDTO
impl RefUnwindSafe for CreateWidgetDTO
impl Send for CreateWidgetDTO
impl Sync for CreateWidgetDTO
impl Unpin for CreateWidgetDTO
impl UnsafeUnpin for CreateWidgetDTO
impl UnwindSafe for CreateWidgetDTO
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