Struct google_coordinate1::api::CustomFieldDef[][src]

pub struct CustomFieldDef {
    pub enabled: Option<bool>,
    pub enumitems: Option<Vec<EnumItemDef>>,
    pub id: Option<String>,
    pub kind: Option<String>,
    pub name: Option<String>,
    pub required_for_checkout: Option<bool>,
    pub type_: Option<String>,
}
Expand description

Custom field definition.

This type is not used in any activity, and only used as part of another schema.

Fields

enabled: Option<bool>

Whether the field is enabled.

enumitems: Option<Vec<EnumItemDef>>

List of enum items for this custom field. Populated only if the field type is enum. Enum fields appear as ‘lists’ in the Coordinate web and mobile UI.

id: Option<String>

Custom field id.

kind: Option<String>

Identifies this object as a custom field definition.

name: Option<String>

Custom field name.

required_for_checkout: Option<bool>

Whether the field is required for checkout.

type_: Option<String>

Custom field type.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.