pub struct IssueSpec {
pub title: String,
pub body: String,
pub labels: Vec<String>,
pub issue_type: Option<String>,
pub priority: Option<String>,
pub parent: Option<String>,
}Expand description
An issue to create.
Fields§
§title: StringThe title.
body: StringThe body as Markdown; the provider words it for the tracker.
labels: Vec<String>Labels to set; the provider keeps those the tracker has.
issue_type: Option<String>The issue type; empty takes the instance’s issue_type.
priority: Option<String>The priority, already in the target tracker’s words.
parent: Option<String>The parent issue, when the new one is a child.
Trait Implementations§
impl Eq for IssueSpec
Source§impl FromValue for IssueSpec
impl FromValue for IssueSpec
Source§const KINDS: Kinds = ::guatiao::Kinds::MAP
const KINDS: Kinds = ::guatiao::Kinds::MAP
The kinds
from_value may accept; any
other is refused. Every impl in this crate and every derived one
says; the default, [Kinds::ANY], claims every kind, which keeps
a type that does not say out of an enum told apart by kind.Source§fn from_value(__value: &Value) -> Result<Self, MapError>
fn from_value(__value: &Value) -> Result<Self, MapError>
Performs the conversion. Read more
Source§impl Schema for IssueSpec
impl Schema for IssueSpec
impl StructuralPartialEq for IssueSpec
Auto Trait Implementations§
impl Freeze for IssueSpec
impl RefUnwindSafe for IssueSpec
impl Send for IssueSpec
impl Sync for IssueSpec
impl Unpin for IssueSpec
impl UnsafeUnpin for IssueSpec
impl UnwindSafe for IssueSpec
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