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 for WorkItemField
impl PartialEq for WorkItemField
Source§impl Serialize for WorkItemField
impl Serialize for WorkItemField
impl StructuralPartialEq for WorkItemField
Auto Trait Implementations§
impl Freeze for WorkItemField
impl RefUnwindSafe for WorkItemField
impl Send for WorkItemField
impl Sync for WorkItemField
impl Unpin for WorkItemField
impl UnwindSafe for WorkItemField
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