pub struct CreateCustomFieldsDTO {
pub name: String,
pub data_type: String,
pub placeholder: Option<String>,
pub accepted_format: Vec<String>,
pub is_multiple_file: Option<bool>,
pub max_number_of_files: Option<f64>,
pub text_box_list_options: Vec<Value>,
pub position: Option<f64>,
pub model: Option<String>,
}Available on crate feature
locations only.Expand description
CreateCustomFieldsDTO from the GoHighLevel OpenAPI spec.
Fields§
§name: StringRequired by the API.
data_type: StringRequired by the API.
placeholder: Option<String>§accepted_format: Vec<String>§is_multiple_file: Option<bool>§max_number_of_files: Option<f64>§text_box_list_options: Vec<Value>Multiple possible shapes in the spec; raw JSON.
position: Option<f64>§model: Option<String>Model of the custom field you want to create
Allowed values: contact, opportunity.
Trait Implementations§
Source§impl Clone for CreateCustomFieldsDTO
impl Clone for CreateCustomFieldsDTO
Source§fn clone(&self) -> CreateCustomFieldsDTO
fn clone(&self) -> CreateCustomFieldsDTO
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 CreateCustomFieldsDTO
impl Debug for CreateCustomFieldsDTO
Source§impl Default for CreateCustomFieldsDTO
impl Default for CreateCustomFieldsDTO
Source§fn default() -> CreateCustomFieldsDTO
fn default() -> CreateCustomFieldsDTO
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateCustomFieldsDTO
impl<'de> Deserialize<'de> for CreateCustomFieldsDTO
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 CreateCustomFieldsDTO
impl RefUnwindSafe for CreateCustomFieldsDTO
impl Send for CreateCustomFieldsDTO
impl Sync for CreateCustomFieldsDTO
impl Unpin for CreateCustomFieldsDTO
impl UnsafeUnpin for CreateCustomFieldsDTO
impl UnwindSafe for CreateCustomFieldsDTO
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