pub struct JiraField {
pub id: String,
pub name: String,
pub custom: bool,
pub schema_type: Option<String>,
pub schema_custom: Option<String>,
}Expand description
A JIRA field definition returned by GET /rest/api/3/field.
Fields§
§id: StringField ID (e.g., “summary”, “customfield_10001”).
name: StringHuman-readable field name.
custom: boolWhether this is a custom field.
schema_type: Option<String>Schema type. Mostly the raw schema.type from the API ("string",
"array", "option", …). For rich-text custom fields this is
"richtext", mapped from schema.custom so callers can detect
ADF-required fields without inspecting the plugin URI.
schema_custom: Option<String>Raw schema.custom plugin URI for custom fields, e.g.
com.atlassian.jira.plugin.system.customfieldtypes:textarea. Absent
for system fields.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for JiraField
impl RefUnwindSafe for JiraField
impl Send for JiraField
impl Sync for JiraField
impl Unpin for JiraField
impl UnsafeUnpin for JiraField
impl UnwindSafe for JiraField
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