pub struct UpdateReq {
pub id: String,
pub state: Option<String>,
pub priority: Option<char>,
pub block: Option<String>,
pub unblock: Option<String>,
pub if_state: Option<String>,
pub if_gen: Option<u64>,
}Expand description
Fields issue/update accepts.
Fields§
§id: StringIssue to change.
state: Option<String>New org TODO state, if any.
priority: Option<char>New priority letter, if any.
block: Option<String>Blocker id to add.
unblock: Option<String>Blocker id to drop.
if_state: Option<String>Refuse unless the heading is still this state.
if_gen: Option<u64>Refuse unless the corpus generation is still this value.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UpdateReq
impl RefUnwindSafe for UpdateReq
impl Send for UpdateReq
impl Sync for UpdateReq
impl Unpin for UpdateReq
impl UnsafeUnpin for UpdateReq
impl UnwindSafe for UpdateReq
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> 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