pub struct CreateFields<'a> {Show 16 fields
pub title: Option<&'a str>,
pub body: Option<&'a str>,
pub status: Option<&'a str>,
pub priority: Option<&'a str>,
pub assignee: Option<&'a str>,
pub labels: Option<&'a str>,
pub files: Option<&'a str>,
pub estimate: Option<&'a str>,
pub cycles: Option<&'a str>,
pub milestones: Option<&'a str>,
pub reviewer: Option<&'a str>,
pub start_date: Option<&'a str>,
pub due_date: Option<&'a str>,
pub parent: Option<&'a str>,
pub related_issues: Option<&'a str>,
pub type_: Option<&'a str>,
}Expand description
The normal create flags a template selection is merged with.
It mirrors tix create’s arguments one-for-one — the same
comma-separated string shape the create core takes — so a surface cannot
name a field the create model does not understand.
Fields§
§title: Option<&'a str>§body: Option<&'a str>§status: Option<&'a str>§priority: Option<&'a str>§assignee: Option<&'a str>§labels: Option<&'a str>§files: Option<&'a str>§estimate: Option<&'a str>§cycles: Option<&'a str>§milestones: Option<&'a str>§reviewer: Option<&'a str>§start_date: Option<&'a str>§due_date: Option<&'a str>§parent: Option<&'a str>§type_: Option<&'a str>Implementations§
Source§impl CreateFields<'_>
impl CreateFields<'_>
Sourcepub fn to_input(self) -> TemplateInput
pub fn to_input(self) -> TemplateInput
The resolver’s input shape: the same fields, owned, with the TOML-style
type key mapped onto the Rust field. Public so every surface feeds the
shared resolver the identical shape.
Trait Implementations§
Source§impl<'a> Clone for CreateFields<'a>
impl<'a> Clone for CreateFields<'a>
impl<'a> Copy for CreateFields<'a>
Source§impl<'a> Debug for CreateFields<'a>
impl<'a> Debug for CreateFields<'a>
Auto Trait Implementations§
impl<'a> Freeze for CreateFields<'a>
impl<'a> RefUnwindSafe for CreateFields<'a>
impl<'a> Send for CreateFields<'a>
impl<'a> Sync for CreateFields<'a>
impl<'a> Unpin for CreateFields<'a>
impl<'a> UnsafeUnpin for CreateFields<'a>
impl<'a> UnwindSafe for CreateFields<'a>
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<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