Struct google_coordinate1::api::EnumItemDef
source · pub struct EnumItemDef {
pub active: Option<bool>,
pub kind: Option<String>,
pub value: Option<String>,
}
Expand description
Enum Item definition.
This type is not used in any activity, and only used as part of another schema.
Fields§
§active: Option<bool>
Whether the enum item is active. Jobs may contain inactive enum values; however, setting an enum to an inactive value when creating or updating a job will result in a 500 error.
kind: Option<String>
Identifies this object as an enum item definition.
value: Option<String>
Custom field value.
Trait Implementations§
source§impl Clone for EnumItemDef
impl Clone for EnumItemDef
source§fn clone(&self) -> EnumItemDef
fn clone(&self) -> EnumItemDef
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 EnumItemDef
impl Debug for EnumItemDef
source§impl Default for EnumItemDef
impl Default for EnumItemDef
source§fn default() -> EnumItemDef
fn default() -> EnumItemDef
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for EnumItemDef
impl<'de> Deserialize<'de> for EnumItemDef
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
source§impl Serialize for EnumItemDef
impl Serialize for EnumItemDef
impl Part for EnumItemDef
Auto Trait Implementations§
impl RefUnwindSafe for EnumItemDef
impl Send for EnumItemDef
impl Sync for EnumItemDef
impl Unpin for EnumItemDef
impl UnwindSafe for EnumItemDef
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more