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 the “default value” for a type. Read more
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 RefUnwindSafe for CustomFieldDef
impl Send for CustomFieldDef
impl Sync for CustomFieldDef
impl Unpin for CustomFieldDef
impl UnwindSafe for CustomFieldDef
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more