pub struct CreateRequest {Show 16 fields
pub title: String,
pub body: Option<String>,
pub status: Option<Status>,
pub priority: Option<Priority>,
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 normal create request a resolution produced.
The fields are exactly the parameters of
crate::commands::create::create, in the same order and with the same
types; a caller destructures this straight into the shared core. Nothing
here is derived from a template-specific schema — a template can only ever
pre-fill these documented fields.
Fields§
§title: Stringcreate(..., title, ...): always non-blank on a successful resolution.
body: Option<String>create(..., body, ...).
status: Option<Status>create(..., status, ...).
priority: Option<Priority>create(..., priority, ...).
assignee: Option<String>create(..., assignee, ...).
labels: Option<String>create(..., labels, ...), comma-separated.
files: Option<String>create(..., files, ...), comma-separated.
estimate: Option<String>create(..., estimate, ...).
cycles: Option<String>create(..., cycles, ...), comma-separated.
milestones: Option<String>create(..., milestones, ...), comma-separated.
reviewer: Option<String>create(..., reviewer, ...).
start_date: Option<String>create(..., start_date, ...).
due_date: Option<String>create(..., due_date, ...).
parent: Option<String>create(..., parent, ...).
create(..., related_issues, ...), comma-separated.
type_: Option<String>create(..., type_, ...).
Trait Implementations§
Source§impl Clone for CreateRequest
impl Clone for CreateRequest
Source§impl Debug for CreateRequest
impl Debug for CreateRequest
impl Eq for CreateRequest
Source§impl PartialEq for CreateRequest
impl PartialEq for CreateRequest
impl StructuralPartialEq for CreateRequest
Auto Trait Implementations§
impl Freeze for CreateRequest
impl RefUnwindSafe for CreateRequest
impl Send for CreateRequest
impl Sync for CreateRequest
impl Unpin for CreateRequest
impl UnsafeUnpin for CreateRequest
impl UnwindSafe for CreateRequest
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
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
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> ⓘ
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> ⓘ
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