pub struct CreateLeadFormDTO {
pub type_: String,
pub name: String,
pub location_id: String,
pub greeting_card: Option<GreetingCard>,
pub questions: Vec<FormQuestion>,
pub question_page_headline: Option<String>,
pub privacy_policy_link: String,
pub privacy_policy_text: Option<String>,
pub custom_disclaimer: Option<CustomDisclaimer>,
pub thank_you_page: ThankYouPage,
}Available on crate feature
ad-manager only.Expand description
CreateLeadFormDTO from the GoHighLevel OpenAPI spec.
Fields§
§type_: StringLead form type
Allowed values: MORE_VOLUME, HIGHER_INTENT.
Required by the API.
name: StringLead form name Required by the API.
location_id: StringLocation identifier Required by the API.
greeting_card: Option<GreetingCard>Greeting card config
questions: Vec<FormQuestion>List of questions displayed on the lead form Required by the API.
question_page_headline: Option<String>Question page headline
privacy_policy_link: StringPrivacy policy URL Required by the API.
privacy_policy_text: Option<String>Privacy policy text
custom_disclaimer: Option<CustomDisclaimer>Custom disclaimer config
thank_you_page: ThankYouPageThank you page config Required by the API.
Trait Implementations§
Source§impl Clone for CreateLeadFormDTO
impl Clone for CreateLeadFormDTO
Source§fn clone(&self) -> CreateLeadFormDTO
fn clone(&self) -> CreateLeadFormDTO
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 CreateLeadFormDTO
impl Debug for CreateLeadFormDTO
Source§impl Default for CreateLeadFormDTO
impl Default for CreateLeadFormDTO
Source§fn default() -> CreateLeadFormDTO
fn default() -> CreateLeadFormDTO
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateLeadFormDTO
impl<'de> Deserialize<'de> for CreateLeadFormDTO
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 CreateLeadFormDTO
impl RefUnwindSafe for CreateLeadFormDTO
impl Send for CreateLeadFormDTO
impl Sync for CreateLeadFormDTO
impl Unpin for CreateLeadFormDTO
impl UnsafeUnpin for CreateLeadFormDTO
impl UnwindSafe for CreateLeadFormDTO
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