[][src]Struct octocrab::issues::UpdateIssueBuilder

pub struct UpdateIssueBuilder<'octo, 'a, 'b, 'c, 'd, 'e> { /* fields omitted */ }

Implementations

impl<'octo, 'a, 'b, 'c, 'd, 'e> UpdateIssueBuilder<'octo, 'a, 'b, 'c, 'd, 'e>[src]

pub fn title(self, title: &'b impl AsRef<str> + ?Sized) -> Self[src]

The title of the issue.

pub fn body(self, body: &'c impl AsRef<str> + ?Sized) -> Self[src]

The body of the issue.

pub fn assignees(self, assignees: &'d impl AsRef<[String]> + ?Sized) -> Self[src]

The assignees of the issue.

pub fn state(self, state: impl Into<IssueState>) -> Self[src]

The state of the issue.

pub fn milestone(self, milestone: impl Into<u64>) -> Self[src]

The milestone of the issue.

pub fn labels(self, labels: &'e impl AsRef<[String]> + ?Sized) -> Self[src]

The labels of the issue.

pub async fn send(self) -> Result<Issue>[src]

Send the actual request.

Trait Implementations

impl<'octo, 'a, 'b, 'c, 'd, 'e> Serialize for UpdateIssueBuilder<'octo, 'a, 'b, 'c, 'd, 'e>[src]

Auto Trait Implementations

impl<'octo, 'a, 'b, 'c, 'd, 'e> !RefUnwindSafe for UpdateIssueBuilder<'octo, 'a, 'b, 'c, 'd, 'e>[src]

impl<'octo, 'a, 'b, 'c, 'd, 'e> Send for UpdateIssueBuilder<'octo, 'a, 'b, 'c, 'd, 'e>[src]

impl<'octo, 'a, 'b, 'c, 'd, 'e> Sync for UpdateIssueBuilder<'octo, 'a, 'b, 'c, 'd, 'e>[src]

impl<'octo, 'a, 'b, 'c, 'd, 'e> Unpin for UpdateIssueBuilder<'octo, 'a, 'b, 'c, 'd, 'e> where
    'octo: 'a, 
[src]

impl<'octo, 'a, 'b, 'c, 'd, 'e> !UnwindSafe for UpdateIssueBuilder<'octo, 'a, 'b, 'c, 'd, 'e>[src]

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> Instrument for T[src]

impl<T> Instrument 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.