pub struct StatusContradiction {
pub item: ContradictedItem,
pub option: Option<String>,
pub closed_as: ClosedAs,
pub to: String,
}Expand description
One item whose card contradicts its issue’s closure, and the option that brings it in line
— one entry of TaskSource::status_contradictions.
Fields§
§item: ContradictedItemThe item as it reads now: task or project, named by its kind.
option: Option<String>The option its card sits at, or None for a card with no option.
closed_as: ClosedAsWhat its closure reads as.
to: StringThe name of the option the source’s mapping gives that category for the item’s kind, which its card is moved to.
Trait Implementations§
Source§impl Clone for StatusContradiction
impl Clone for StatusContradiction
Source§impl Debug for StatusContradiction
impl Debug for StatusContradiction
Source§impl<'de> Deserialize<'de> for StatusContradiction
impl<'de> Deserialize<'de> for StatusContradiction
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 StatusContradiction
impl JsonSchema for StatusContradiction
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 StatusContradiction
impl PartialEq for StatusContradiction
Source§impl Serialize for StatusContradiction
impl Serialize for StatusContradiction
impl StructuralPartialEq for StatusContradiction
Auto Trait Implementations§
impl Freeze for StatusContradiction
impl RefUnwindSafe for StatusContradiction
impl Send for StatusContradiction
impl Sync for StatusContradiction
impl Unpin for StatusContradiction
impl UnsafeUnpin for StatusContradiction
impl UnwindSafe for StatusContradiction
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