pub struct TemplateInput {Show 16 fields
pub title: Option<String>,
pub body: Option<String>,
pub status: Option<String>,
pub priority: Option<String>,
pub assignee: Option<String>,
pub labels: Option<String>,
pub files: Option<String>,
pub estimate: Option<String>,
pub cycles: Option<String>,
pub milestones: Option<String>,
pub reviewer: Option<String>,
pub start_date: Option<String>,
pub due_date: Option<String>,
pub parent: Option<String>,
pub related_issues: Option<String>,
pub type_: Option<String>,
}Expand description
The caller’s normal create-field values.
This mirrors the shared create arguments one-for-one — the same
comma-separated string shape the CLI passes — so a surface cannot smuggle a
field the create model does not understand. Every field is optional: an
absent field means “not provided” (the template default, if any, applies),
while Some("") is an explicit blank override.
Fields§
§title: Option<String>Issue title.
body: Option<String>Issue body (Markdown).
status: Option<String>Status column.
priority: Option<String>Priority (''/low/medium/high).
assignee: Option<String>Assignee identity.
labels: Option<String>Comma-separated labels.
files: Option<String>Comma-separated file paths.
estimate: Option<String>Estimate.
cycles: Option<String>Comma-separated cycle names.
milestones: Option<String>Comma-separated milestone names.
reviewer: Option<String>Reviewer.
start_date: Option<String>Start date (YYYY-MM-DD).
due_date: Option<String>Due date (YYYY-MM-DD).
parent: Option<String>Parent selector.
Comma-separated cross-repository references.
type_: Option<String>Issue type (the create core’s type).
Implementations§
Trait Implementations§
Source§impl Clone for TemplateInput
impl Clone for TemplateInput
Source§impl Debug for TemplateInput
impl Debug for TemplateInput
Source§impl Default for TemplateInput
impl Default for TemplateInput
impl Eq for TemplateInput
Source§impl PartialEq for TemplateInput
impl PartialEq for TemplateInput
impl StructuralPartialEq for TemplateInput
Auto Trait Implementations§
impl Freeze for TemplateInput
impl RefUnwindSafe for TemplateInput
impl Send for TemplateInput
impl Sync for TemplateInput
impl Unpin for TemplateInput
impl UnsafeUnpin for TemplateInput
impl UnwindSafe for TemplateInput
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more