Struct asana::models::enum_option::EnumOption
source · [−]pub struct EnumOption {
pub gid: Option<String>,
pub resource_type: Option<String>,
pub name: Option<String>,
pub enabled: Option<bool>,
pub color: Option<String>,
}
Fields
gid: Option<String>
Globally unique identifier of the resource, as a string.
resource_type: Option<String>
The base type of this resource.
name: Option<String>
The name of the enum option.
enabled: Option<bool>
Whether or not the enum option is a selectable value for the custom field.
color: Option<String>
The color of the enum option. Defaults to ‘none’.
Implementations
sourceimpl EnumOption
impl EnumOption
pub fn new() -> EnumOption
Trait Implementations
sourceimpl Clone for EnumOption
impl Clone for EnumOption
sourcefn clone(&self) -> EnumOption
fn clone(&self) -> EnumOption
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for EnumOption
impl Debug for EnumOption
sourceimpl<'de> Deserialize<'de> for EnumOption
impl<'de> Deserialize<'de> for EnumOption
sourcefn 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
sourceimpl PartialEq<EnumOption> for EnumOption
impl PartialEq<EnumOption> for EnumOption
sourcefn eq(&self, other: &EnumOption) -> bool
fn eq(&self, other: &EnumOption) -> bool
sourceimpl Serialize for EnumOption
impl Serialize for EnumOption
impl StructuralPartialEq for EnumOption
Auto Trait Implementations
impl RefUnwindSafe for EnumOption
impl Send for EnumOption
impl Sync for EnumOption
impl Unpin for EnumOption
impl UnwindSafe for EnumOption
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more