pub struct CreateCustomSubtypeDto {
pub name: String,
pub description: Option<String>,
pub channel: String,
pub language: String,
}Available on crate feature
conversations only.Expand description
CreateCustomSubtypeDto from the GoHighLevel OpenAPI spec.
Fields§
§name: StringName of the custom subtype (max 100 characters) Required by the API.
description: Option<String>Description of the custom subtype (max 100 characters)
channel: StringCommunication channel
Allowed values: email, sms.
Required by the API.
language: StringLanguage code Required by the API.
Trait Implementations§
Source§impl Clone for CreateCustomSubtypeDto
impl Clone for CreateCustomSubtypeDto
Source§fn clone(&self) -> CreateCustomSubtypeDto
fn clone(&self) -> CreateCustomSubtypeDto
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 CreateCustomSubtypeDto
impl Debug for CreateCustomSubtypeDto
Source§impl Default for CreateCustomSubtypeDto
impl Default for CreateCustomSubtypeDto
Source§fn default() -> CreateCustomSubtypeDto
fn default() -> CreateCustomSubtypeDto
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateCustomSubtypeDto
impl<'de> Deserialize<'de> for CreateCustomSubtypeDto
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 CreateCustomSubtypeDto
impl RefUnwindSafe for CreateCustomSubtypeDto
impl Send for CreateCustomSubtypeDto
impl Sync for CreateCustomSubtypeDto
impl Unpin for CreateCustomSubtypeDto
impl UnsafeUnpin for CreateCustomSubtypeDto
impl UnwindSafe for CreateCustomSubtypeDto
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