Struct google_coordinate1::api::CustomFieldDef
source · pub struct CustomFieldDef {
pub enabled: Option<bool>,
pub enumitems: Option<Vec<EnumItemDef>>,
pub id: Option<i64>,
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<i64>
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§
source§impl Clone for CustomFieldDef
impl Clone for CustomFieldDef
source§fn clone(&self) -> CustomFieldDef
fn clone(&self) -> CustomFieldDef
Returns a copy of the value. Read more
1.0.0 · 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 CustomFieldDef
impl Debug for CustomFieldDef
source§impl Default for CustomFieldDef
impl Default for CustomFieldDef
source§fn default() -> CustomFieldDef
fn default() -> CustomFieldDef
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CustomFieldDef
impl<'de> Deserialize<'de> for CustomFieldDef
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