pub struct TemplateCreateInput {
pub id: Option<String>,
pub type: Option<String>,
pub team_id: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub template_data: Option<Value>,
pub sort_order: Option<f64>,
}Fields§
§id: Option<String>The identifier in UUID v4 format. If none is provided, the backend will generate one.
type: Option<String>The template type, e.g. ‘issue’.
team_id: Option<String>The identifier or key of the team associated with the template. If not given, the template will be shared across all teams.
name: Option<String>The template name.
description: Option<String>The template description.
template_data: Option<Value>The template data as JSON encoded attributes of the type of entity, such as an issue.
sort_order: Option<f64>The position of the template in the templates list.
Trait Implementations§
Source§impl Clone for TemplateCreateInput
impl Clone for TemplateCreateInput
Source§fn clone(&self) -> TemplateCreateInput
fn clone(&self) -> TemplateCreateInput
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 TemplateCreateInput
impl Debug for TemplateCreateInput
Source§impl Default for TemplateCreateInput
impl Default for TemplateCreateInput
Source§fn default() -> TemplateCreateInput
fn default() -> TemplateCreateInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TemplateCreateInput
impl<'de> Deserialize<'de> for TemplateCreateInput
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 TemplateCreateInput
impl RefUnwindSafe for TemplateCreateInput
impl Send for TemplateCreateInput
impl Sync for TemplateCreateInput
impl Unpin for TemplateCreateInput
impl UnwindSafe for TemplateCreateInput
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