pub struct CreateMetaField {
pub field_id: String,
pub name: String,
pub required: bool,
pub schema_type: String,
pub items: Option<String>,
pub custom: Option<String>,
pub allowed_values: Vec<CreateMetaAllowedValue>,
pub default_value: Option<Value>,
}Expand description
A single field on the create screen.
Fields§
§field_id: StringField ID (e.g., summary or customfield_10001).
name: StringHuman-readable field name.
required: boolWhether the field must be supplied to create the issue.
schema_type: StringBase schema type: string, option, array, user, date, etc.
items: Option<String>For array fields: the element type (schema.items).
custom: Option<String>For custom fields: the plugin type URI, e.g.
com.atlassian.jira.plugin.system.customfieldtypes:select.
allowed_values: Vec<CreateMetaAllowedValue>Allowed values for option/select/cascading-select fields (empty for free-form fields).
default_value: Option<Value>The field’s default value, if the create screen defines one.
Trait Implementations§
Source§impl Clone for CreateMetaField
impl Clone for CreateMetaField
Source§fn clone(&self) -> CreateMetaField
fn clone(&self) -> CreateMetaField
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CreateMetaField
impl Debug for CreateMetaField
Auto Trait Implementations§
impl Freeze for CreateMetaField
impl RefUnwindSafe for CreateMetaField
impl Send for CreateMetaField
impl Sync for CreateMetaField
impl Unpin for CreateMetaField
impl UnsafeUnpin for CreateMetaField
impl UnwindSafe for CreateMetaField
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