Struct gapi_grpc::google::ads::googleads::v6::common::LeadFormField[][src]

pub struct LeadFormField {
    pub input_type: i32,
    pub answers: Option<Answers>,
}

One input field instance within a form.

Fields

input_type: i32

Describes the input type, which may be a predefined type such as “full name” or a pre-vetted question like “Do you own a car?”.

answers: Option<Answers>

Defines answer configuration that this form field accepts. If oneof is not set, this is a free-text answer.

Implementations

impl LeadFormField[src]

pub fn input_type(&self) -> LeadFormFieldUserInputType[src]

Returns the enum value of input_type, or the default if the field is set to an invalid enum value.

pub fn set_input_type(&mut self, value: LeadFormFieldUserInputType)[src]

Sets input_type to the provided enum value.

Trait Implementations

impl Clone for LeadFormField[src]

impl Debug for LeadFormField[src]

impl Default for LeadFormField[src]

impl Message for LeadFormField[src]

impl PartialEq<LeadFormField> for LeadFormField[src]

impl StructuralPartialEq for LeadFormField[src]

Auto Trait Implementations

impl RefUnwindSafe for LeadFormField

impl Send for LeadFormField

impl Sync for LeadFormField

impl Unpin for LeadFormField

impl UnwindSafe for LeadFormField

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]