pub struct CreateIssueBuilder {
pub owner: String,
pub repo: String,
pub title: String,
pub assignees: Option<Vec<String>>,
pub body: Option<String>,
pub closed: Option<bool>,
pub due_date: Option<String>,
pub labels: Option<Vec<i64>>,
pub milestone: Option<i64>,
pub ref: Option<String>,
}
Fields§
§owner: String
§repo: String
§title: String
§assignees: Option<Vec<String>>
§body: Option<String>
§closed: Option<bool>
§due_date: Option<String>
§labels: Option<Vec<i64>>
§milestone: Option<i64>
§ref: Option<String>
Implementations§
Source§impl CreateIssueBuilder
impl CreateIssueBuilder
pub fn assignees(self, assignees: impl Into<Vec<String>>) -> Self
pub fn body(self, body: impl Into<String>) -> Self
pub fn closed(self, closed: impl Into<bool>) -> Self
pub fn due_date(self, due_date: impl Into<String>) -> Self
pub fn labels(self, labels: impl Into<Vec<i64>>) -> Self
pub fn milestone(self, milestone: impl Into<i64>) -> Self
pub fn refs(self, ref: impl Into<String>) -> Self
Trait Implementations§
Source§impl Clone for CreateIssueBuilder
impl Clone for CreateIssueBuilder
Source§fn clone(&self) -> CreateIssueBuilder
fn clone(&self) -> CreateIssueBuilder
Returns a copy 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 CreateIssueBuilder
impl Debug for CreateIssueBuilder
Auto Trait Implementations§
impl Freeze for CreateIssueBuilder
impl RefUnwindSafe for CreateIssueBuilder
impl Send for CreateIssueBuilder
impl Sync for CreateIssueBuilder
impl Unpin for CreateIssueBuilder
impl UnwindSafe for CreateIssueBuilder
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