[][src]Struct octocrab::issues::CreateIssueBuilder

pub struct CreateIssueBuilder<'octo, 'r> { /* fields omitted */ }

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, 

impl<'octo, 'r> !UnwindSafe for CreateIssueBuilder<'octo, 'r>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.