pub enum Completion {
Absent,
Skipped {
task: HeldTask,
reason: String,
},
Unchanged {
task: HeldTask,
},
Due {
task: HeldTask,
to: String,
},
}Expand description
What moving one issue’s item to done comes to at one source — the task it holds riding on
every outcome that has one, so none can be told without its task, or with one, that has not.
Variants§
Absent
The source holds no item for the issue, or cannot see the issue at all.
Skipped
The issue’s closure already says something else, which a landing does not overrule.
Unchanged
The issue is closed as completed and its card already sits at the done option.
Due
The item is to be written done: its card moved to the done option, and its issue
closed as completed if it is still open.
Trait Implementations§
Source§impl Clone for Completion
impl Clone for Completion
Source§impl Debug for Completion
impl Debug for Completion
Source§impl<'de> Deserialize<'de> for Completion
impl<'de> Deserialize<'de> for Completion
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for Completion
impl JsonSchema for Completion
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for Completion
impl PartialEq for Completion
Source§impl Serialize for Completion
impl Serialize for Completion
impl StructuralPartialEq for Completion
Auto Trait Implementations§
impl Freeze for Completion
impl RefUnwindSafe for Completion
impl Send for Completion
impl Sync for Completion
impl Unpin for Completion
impl UnsafeUnpin for Completion
impl UnwindSafe for Completion
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