pub struct IssueCreateInput {
pub title: String,
pub team_id: String,
pub description: Option<String>,
pub assignee_id: Option<String>,
pub project_id: Option<String>,
pub state_id: Option<String>,
pub priority: Option<i32>,
pub label_ids: Option<Vec<String>>,
}Expand description
Input for creating an issue.
Fields§
§title: String§team_id: String§description: Option<String>§assignee_id: Option<String>§project_id: Option<String>§state_id: Option<String>§priority: Option<i32>§label_ids: Option<Vec<String>>Implementations§
Source§impl IssueCreateInput
impl IssueCreateInput
pub fn new(title: impl Into<String>, team_id: impl Into<String>) -> Self
pub fn description(self, desc: impl Into<String>) -> Self
pub fn assignee(self, id: impl Into<String>) -> Self
pub fn project(self, id: impl Into<String>) -> Self
pub fn priority(self, priority: i32) -> Self
Trait Implementations§
Source§impl Clone for IssueCreateInput
impl Clone for IssueCreateInput
Source§fn clone(&self) -> IssueCreateInput
fn clone(&self) -> IssueCreateInput
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IssueCreateInput
impl Debug for IssueCreateInput
Source§impl Default for IssueCreateInput
impl Default for IssueCreateInput
Source§fn default() -> IssueCreateInput
fn default() -> IssueCreateInput
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for IssueCreateInput
impl RefUnwindSafe for IssueCreateInput
impl Send for IssueCreateInput
impl Sync for IssueCreateInput
impl Unpin for IssueCreateInput
impl UnwindSafe for IssueCreateInput
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