pub struct TrackerUpdate {
pub item: String,
pub add_labels: Vec<String>,
pub remove_labels: Vec<String>,
pub transition: Option<String>,
pub add_assignees: Vec<String>,
pub remove_assignees: Vec<String>,
pub state: Option<String>,
}Expand description
Changes to an issue’s labels, workflow state and assignees.
Fields§
§item: StringThe issue.
add_labels: Vec<String>Labels to add.
remove_labels: Vec<String>Labels to remove.
transition: Option<String>A workflow transition, by ID or name (Jira).
add_assignees: Vec<String>Assignees to add.
remove_assignees: Vec<String>Assignees to remove.
state: Option<String>open or closed (GitHub); another value is refused.
Trait Implementations§
Source§impl Clone for TrackerUpdate
impl Clone for TrackerUpdate
Source§impl Debug for TrackerUpdate
impl Debug for TrackerUpdate
Source§impl Default for TrackerUpdate
impl Default for TrackerUpdate
impl Eq for TrackerUpdate
Source§impl FromValue for TrackerUpdate
impl FromValue for TrackerUpdate
Source§const KINDS: Kinds = ::guatiao::Kinds::MAP
const KINDS: Kinds = ::guatiao::Kinds::MAP
The kinds
from_value may accept; any
other is refused. Every impl in this crate and every derived one
says; the default, [Kinds::ANY], claims every kind, which keeps
a type that does not say out of an enum told apart by kind.Source§fn from_value(__value: &Value) -> Result<Self, MapError>
fn from_value(__value: &Value) -> Result<Self, MapError>
Performs the conversion. Read more
Source§impl FromWalk for TrackerUpdate
impl FromWalk for TrackerUpdate
Source§impl MapRead for TrackerUpdate
impl MapRead for TrackerUpdate
Source§impl PartialEq for TrackerUpdate
impl PartialEq for TrackerUpdate
Source§impl Schema for TrackerUpdate
impl Schema for TrackerUpdate
impl StructuralPartialEq for TrackerUpdate
Source§impl ToValue for TrackerUpdate
impl ToValue for TrackerUpdate
Auto Trait Implementations§
impl Freeze for TrackerUpdate
impl RefUnwindSafe for TrackerUpdate
impl Send for TrackerUpdate
impl Sync for TrackerUpdate
impl Unpin for TrackerUpdate
impl UnsafeUnpin for TrackerUpdate
impl UnwindSafe for TrackerUpdate
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