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 NewIssuewhere
RawVecInner: Send,
impl Sync for NewIssuewhere
RawVecInner: Sync,
impl Unpin for NewIssue
impl UnsafeUnpin for NewIssuewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for NewIssuewhere
RawVecInner: UnwindSafe,
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§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.