pub struct GitHubIssueUpdate {
pub title: Option<String>,
pub body: Option<String>,
pub state: Option<String>,
pub labels: Option<Vec<String>>,
}Expand description
Input for updating a GitHub issue.
Fields§
§title: Option<String>New title.
body: Option<String>New body.
state: Option<String>New state (“open” or “closed”).
labels: Option<Vec<String>>New labels.
Trait Implementations§
Source§impl Debug for GitHubIssueUpdate
impl Debug for GitHubIssueUpdate
Source§impl Default for GitHubIssueUpdate
impl Default for GitHubIssueUpdate
Source§fn default() -> GitHubIssueUpdate
fn default() -> GitHubIssueUpdate
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GitHubIssueUpdate
impl RefUnwindSafe for GitHubIssueUpdate
impl Send for GitHubIssueUpdate
impl Sync for GitHubIssueUpdate
impl Unpin for GitHubIssueUpdate
impl UnsafeUnpin for GitHubIssueUpdate
impl UnwindSafe for GitHubIssueUpdate
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more