pub struct CreateCustomFieldContext {
pub id: Option<String>,
pub name: String,
pub description: Option<String>,
pub project_ids: Option<Vec<String>>,
pub issue_type_ids: Option<Vec<String>>,
}
Expand description
CreateCustomFieldContext : The details of a created custom field context.
Fields§
§id: Option<String>
The ID of the context.
name: String
The name of the context.
description: Option<String>
The description of the context.
project_ids: Option<Vec<String>>
The list of project IDs associated with the context. If the list is empty, the context is global.
issue_type_ids: Option<Vec<String>>
The list of issue types IDs for the context. If the list is empty, the context refers to all issue types.
Implementations§
Source§impl CreateCustomFieldContext
impl CreateCustomFieldContext
Sourcepub fn new(name: String) -> CreateCustomFieldContext
pub fn new(name: String) -> CreateCustomFieldContext
The details of a created custom field context.
Trait Implementations§
Source§impl Clone for CreateCustomFieldContext
impl Clone for CreateCustomFieldContext
Source§fn clone(&self) -> CreateCustomFieldContext
fn clone(&self) -> CreateCustomFieldContext
Returns a duplicate of the value. Read more
1.0.0 · 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 CreateCustomFieldContext
impl Debug for CreateCustomFieldContext
Source§impl Default for CreateCustomFieldContext
impl Default for CreateCustomFieldContext
Source§fn default() -> CreateCustomFieldContext
fn default() -> CreateCustomFieldContext
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateCustomFieldContext
impl<'de> Deserialize<'de> for CreateCustomFieldContext
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
Source§impl PartialEq for CreateCustomFieldContext
impl PartialEq for CreateCustomFieldContext
Source§impl Serialize for CreateCustomFieldContext
impl Serialize for CreateCustomFieldContext
impl StructuralPartialEq for CreateCustomFieldContext
Auto Trait Implementations§
impl Freeze for CreateCustomFieldContext
impl RefUnwindSafe for CreateCustomFieldContext
impl Send for CreateCustomFieldContext
impl Sync for CreateCustomFieldContext
impl Unpin for CreateCustomFieldContext
impl UnwindSafe for CreateCustomFieldContext
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