pub struct NewIssue {
pub project: String,
pub title: String,
pub body: String,
pub labels: Vec<String>,
pub issue_type: Option<String>,
pub list_id: Option<String>,
pub assignees: Vec<String>,
pub milestone: Option<u64>,
}Expand description
What opening an issue needs, host-agnostic (v1: title, body, labels).
Fields§
§project: Stringowner/name (GitHub) or group/sub/proj (GitLab).
title: String§body: String§labels: Vec<String>§issue_type: Option<String>Jira issue-type id, Azure work-item type name.
list_id: Option<String>Trello list id.
assignees: Vec<String>Logins to assign (GitHub, GitLab).
milestone: Option<u64>HostedMilestone::id (GitHub, GitLab).
Trait Implementations§
impl Eq for NewIssue
impl StructuralPartialEq for NewIssue
Auto Trait Implementations§
impl Forget for NewIssue
impl Freeze for NewIssue
impl Move for NewIssue
impl RefUnwindSafe for NewIssue
impl Send for NewIssue
impl Sync for NewIssue
impl Unpin for NewIssue
impl UnsafeUnpin for NewIssue
impl UnwindSafe for NewIssue
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.