[−][src]Struct octocrab::issues::CreateIssueBuilder
Implementations
impl<'octo, 'r> CreateIssueBuilder<'octo, 'r>
[src]
pub async fn send(self) -> Result<Issue>
[src]
Sends the actual request.
pub fn body<A: Into<String>>(self, body: impl Into<Option<A>>) -> Self
[src]
The contents of the issue.
pub fn milestone(self, milestone: impl Into<Option<u64>>) -> Self
[src]
The number of the milestone to associate this issue with. NOTE: Only users with push access can set the milestone for new issues. The milestone is silently dropped otherwise.
pub fn labels(self, labels: impl Into<Option<Vec<String>>>) -> Self
[src]
Labels to associate with this issue. NOTE: Only users with push access can set labels for new issues. Labels are silently dropped otherwise.
pub fn assignees(self, assignees: impl Into<Option<Vec<String>>>) -> Self
[src]
Logins for Users to assign to this issue. NOTE: Only users with push access can set assignees for new issues. Assignees are silently dropped otherwise.
Trait Implementations
impl<'octo, 'r> Serialize for CreateIssueBuilder<'octo, 'r>
[src]
Auto Trait Implementations
impl<'octo, 'r> !RefUnwindSafe for CreateIssueBuilder<'octo, 'r>
impl<'octo, 'r> Send for CreateIssueBuilder<'octo, 'r>
impl<'octo, 'r> Sync for CreateIssueBuilder<'octo, 'r>
impl<'octo, 'r> Unpin for CreateIssueBuilder<'octo, 'r> where
'octo: 'r,
'octo: 'r,
impl<'octo, 'r> !UnwindSafe for CreateIssueBuilder<'octo, 'r>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,