pub struct JiraField {
pub id: String,
pub name: String,
pub custom: bool,
pub schema: Option<JiraFieldSchema>,
}Expand description
Entry from GET /rest/api/{v}/field — every field (system + custom)
available on the Jira instance.
Used to resolve human-readable field names (e.g. "Epic Link",
"Sprint", "Epic Name") to their numeric customfield_* ids,
which vary across instances. Cached inside crate::JiraClient to
avoid repeating the request for every issue mutation.
Fields§
§id: StringField id, e.g. "customfield_10014" for customs or "summary"
for system fields.
name: StringHuman-readable name, e.g. "Epic Link".
custom: boolWhether this is a custom field (true) or a system field
(false).
schema: Option<JiraFieldSchema>Optional schema descriptor.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for JiraField
impl<'de> Deserialize<'de> for JiraField
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
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