Struct google_coordinate1::CustomFieldDef
[−]
[src]
pub struct CustomFieldDef { pub kind: Option<String>, pub enumitems: Option<Vec<EnumItemDef>>, pub name: Option<String>, pub type_: Option<String>, pub required_for_checkout: Option<bool>, pub enabled: Option<bool>, pub id: Option<String>, }
Custom field definition.
This type is not used in any activity, and only used as part of another schema.
Fields
kind: Option<String>
Identifies this object as a custom field definition.
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.
name: Option<String>
Custom field name.
type_: Option<String>
Custom field type.
required_for_checkout: Option<bool>
Whether the field is required for checkout.
enabled: Option<bool>
Whether the field is enabled.
id: Option<String>
Custom field id.
Trait Implementations
impl Debug for CustomFieldDef
[src]
impl Clone for CustomFieldDef
[src]
fn clone(&self) -> CustomFieldDef
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Default for CustomFieldDef
[src]
fn default() -> CustomFieldDef
Returns the "default value" for a type. Read more