Struct azure_devops_rust_api::wit::models::WorkItemField
source · pub struct WorkItemField {Show 15 fields
pub work_item_tracking_resource: WorkItemTrackingResource,
pub can_sort_by: Option<bool>,
pub description: Option<String>,
pub is_deleted: Option<bool>,
pub is_identity: Option<bool>,
pub is_picklist: Option<bool>,
pub is_picklist_suggested: Option<bool>,
pub is_queryable: Option<bool>,
pub name: Option<String>,
pub picklist_id: Option<String>,
pub read_only: Option<bool>,
pub reference_name: Option<String>,
pub supported_operations: Vec<WorkItemFieldOperation>,
pub type_: Option<Type>,
pub usage: Option<Usage>,
}Expand description
Describes a field on a work item and it’s properties specific to that work item type.
Fields§
§work_item_tracking_resource: WorkItemTrackingResource§can_sort_by: Option<bool>Indicates whether the field is sortable in server queries.
description: Option<String>The description of the field.
is_deleted: Option<bool>Indicates whether this field is deleted.
is_identity: Option<bool>Indicates whether this field is an identity field.
is_picklist: Option<bool>Indicates whether this instance is picklist.
is_picklist_suggested: Option<bool>Indicates whether this instance is a suggested picklist .
is_queryable: Option<bool>Indicates whether the field can be queried in the server.
name: Option<String>The name of the field.
picklist_id: Option<String>If this field is picklist, the identifier of the picklist associated, otherwise null
read_only: Option<bool>Indicates whether the field is [read only].
reference_name: Option<String>The reference name of the field.
supported_operations: Vec<WorkItemFieldOperation>The supported operations on this field.
type_: Option<Type>The type of the field.
usage: Option<Usage>The usage of the field.
Implementations§
source§impl WorkItemField
impl WorkItemField
pub fn new(work_item_tracking_resource: WorkItemTrackingResource) -> Self
Trait Implementations§
source§impl Clone for WorkItemField
impl Clone for WorkItemField
source§fn clone(&self) -> WorkItemField
fn clone(&self) -> WorkItemField
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 WorkItemField
impl Debug for WorkItemField
source§impl<'de> Deserialize<'de> for WorkItemField
impl<'de> Deserialize<'de> for WorkItemField
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 PartialEq<WorkItemField> for WorkItemField
impl PartialEq<WorkItemField> for WorkItemField
source§fn eq(&self, other: &WorkItemField) -> bool
fn eq(&self, other: &WorkItemField) -> bool
This method tests for
self and other values to be equal, and is used
by ==.