pub struct EditIssueArgs {
pub title: Option<String>,
pub body: Option<String>,
pub milestone: Option<Option<String>>,
}Expand description
编辑 Issue 所需参数(部分更新)。
未设置的字段(None)在调用 IssueProvider::edit 时保持当前值不变。
Fields§
§title: Option<String>新标题(不修改时为 None)。
body: Option<String>新正文(不修改时为 None)。
milestone: Option<Option<String>>Milestone change: None = don’t touch; Some(None) = unassign;
Some(Some(identifier)) = set to this milestone (NUMBER or TITLE).
Trait Implementations§
Source§impl Clone for EditIssueArgs
impl Clone for EditIssueArgs
Source§impl Debug for EditIssueArgs
impl Debug for EditIssueArgs
Auto Trait Implementations§
impl Forget for EditIssueArgs
impl Freeze for EditIssueArgs
impl Move for EditIssueArgs
impl RefUnwindSafe for EditIssueArgs
impl Send for EditIssueArgs
impl Sync for EditIssueArgs
impl Unpin for EditIssueArgs
impl UnsafeUnpin for EditIssueArgs
impl UnwindSafe for EditIssueArgs
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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