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§

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used by ==.
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more