pub struct CustomFieldCompactAllOf {
pub name: Option<String>,
pub resource_subtype: Option<ResourceSubtype>,
pub _type: Option<Type>,
pub enum_options: Option<Vec<EnumOption>>,
pub enabled: Option<bool>,
pub number_value: Option<f32>,
pub text_value: Option<String>,
pub display_value: Option<String>,
}
Expand description
CustomFieldCompactAllOf : Custom Fields store the metadata that is used in order to add user-specified information to tasks in Asana. Be sure to reference the Custom Fields developer documentation for more information about how custom fields relate to various resources in Asana. Users in Asana can lock custom fields, which will make them read-only when accessed by other users. Attempting to edit a locked custom field will return HTTP error code 403 Forbidden
.
Fields
name: Option<String>
The name of the custom field.
resource_subtype: Option<ResourceSubtype>
The type of the custom field. Must be one of the given values.
_type: Option<Type>
Deprecated: new integrations should prefer the resource_subtype field. The type of the custom field. Must be one of the given values.
enum_options: Option<Vec<EnumOption>>
Conditional. Only relevant for custom fields of type enum
. This array specifies the possible values which an enum
custom field can adopt. To modify the enum options, refer to working with enum options.
enabled: Option<bool>
Conditional. Determines if the custom field is enabled or not.
number_value: Option<f32>
Conditional. This number is the value of a number custom field.
text_value: Option<String>
Conditional. This string is the value of a text custom field.
display_value: Option<String>
A string representation for the value of the custom field. Integrations that don’t require the underlying type should use this field to read values. Using this field will future-proof an app against new custom field types.
Implementations
sourceimpl CustomFieldCompactAllOf
impl CustomFieldCompactAllOf
sourcepub fn new() -> CustomFieldCompactAllOf
pub fn new() -> CustomFieldCompactAllOf
Custom Fields store the metadata that is used in order to add user-specified information to tasks in Asana. Be sure to reference the Custom Fields developer documentation for more information about how custom fields relate to various resources in Asana. Users in Asana can lock custom fields, which will make them read-only when accessed by other users. Attempting to edit a locked custom field will return HTTP error code 403 Forbidden
.
Trait Implementations
sourceimpl Clone for CustomFieldCompactAllOf
impl Clone for CustomFieldCompactAllOf
sourcefn clone(&self) -> CustomFieldCompactAllOf
fn clone(&self) -> CustomFieldCompactAllOf
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more