Struct jira2::models::field_reference_data::FieldReferenceData
source · [−]pub struct FieldReferenceData {
pub value: Option<String>,
pub display_name: Option<String>,
pub orderable: Option<Orderable>,
pub searchable: Option<Searchable>,
pub auto: Option<Auto>,
pub cfid: Option<String>,
pub operators: Option<Vec<String>>,
pub types: Option<Vec<String>>,
}
Expand description
FieldReferenceData : Details of a field that can be used in advanced searches.
Fields
value: Option<String>
The field identifier.
display_name: Option<String>
The display name contains the following: * for system fields, the field name. For example, Summary
. * for collapsed custom fields, the field name followed by a hyphen and then the field name and field type. For example, Component - Component[Dropdown]
. * for other custom fields, the field name followed by a hyphen and then the custom field ID. For example, Component - cf[10061]
.
orderable: Option<Orderable>
Whether the field can be used in a query’s ORDER BY
clause.
searchable: Option<Searchable>
Whether the content of this field can be searched.
auto: Option<Auto>
Whether the field provide auto-complete suggestions.
cfid: Option<String>
If the item is a custom field, the ID of the custom field.
operators: Option<Vec<String>>
The valid search operators for the field.
types: Option<Vec<String>>
The data types of items in the field.
Implementations
sourceimpl FieldReferenceData
impl FieldReferenceData
sourcepub fn new() -> FieldReferenceData
pub fn new() -> FieldReferenceData
Details of a field that can be used in advanced searches.
Trait Implementations
sourceimpl Clone for FieldReferenceData
impl Clone for FieldReferenceData
sourcefn clone(&self) -> FieldReferenceData
fn clone(&self) -> FieldReferenceData
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 more
sourceimpl Debug for FieldReferenceData
impl Debug for FieldReferenceData
sourceimpl Default for FieldReferenceData
impl Default for FieldReferenceData
sourcefn default() -> FieldReferenceData
fn default() -> FieldReferenceData
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for FieldReferenceData
impl<'de> Deserialize<'de> for FieldReferenceData
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<FieldReferenceData> for FieldReferenceData
impl PartialEq<FieldReferenceData> for FieldReferenceData
sourcefn eq(&self, other: &FieldReferenceData) -> bool
fn eq(&self, other: &FieldReferenceData) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &FieldReferenceData) -> bool
fn ne(&self, other: &FieldReferenceData) -> bool
This method tests for !=
.
sourceimpl Serialize for FieldReferenceData
impl Serialize for FieldReferenceData
impl StructuralPartialEq for FieldReferenceData
Auto Trait Implementations
impl RefUnwindSafe for FieldReferenceData
impl Send for FieldReferenceData
impl Sync for FieldReferenceData
impl Unpin for FieldReferenceData
impl UnwindSafe for FieldReferenceData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more