Struct asana::models::enum_option_request::EnumOptionRequest
source · [−]pub struct EnumOptionRequest {
pub gid: Option<String>,
pub resource_type: Option<String>,
pub name: Option<String>,
pub enabled: Option<bool>,
pub color: Option<String>,
pub insert_before: Option<String>,
pub insert_after: 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’.
insert_before: Option<String>
An existing enum option within this custom field before which the new enum option should be inserted. Cannot be provided together with after_enum_option.
insert_after: Option<String>
An existing enum option within this custom field after which the new enum option should be inserted. Cannot be provided together with before_enum_option.
Implementations
sourceimpl EnumOptionRequest
impl EnumOptionRequest
pub fn new() -> EnumOptionRequest
Trait Implementations
sourceimpl Clone for EnumOptionRequest
impl Clone for EnumOptionRequest
sourcefn clone(&self) -> EnumOptionRequest
fn clone(&self) -> EnumOptionRequest
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 EnumOptionRequest
impl Debug for EnumOptionRequest
sourceimpl<'de> Deserialize<'de> for EnumOptionRequest
impl<'de> Deserialize<'de> for EnumOptionRequest
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<EnumOptionRequest> for EnumOptionRequest
impl PartialEq<EnumOptionRequest> for EnumOptionRequest
sourcefn eq(&self, other: &EnumOptionRequest) -> bool
fn eq(&self, other: &EnumOptionRequest) -> bool
sourceimpl Serialize for EnumOptionRequest
impl Serialize for EnumOptionRequest
impl StructuralPartialEq for EnumOptionRequest
Auto Trait Implementations
impl RefUnwindSafe for EnumOptionRequest
impl Send for EnumOptionRequest
impl Sync for EnumOptionRequest
impl Unpin for EnumOptionRequest
impl UnwindSafe for EnumOptionRequest
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