pub enum ContradictedItem {
Task(Task),
Project(Project),
}Expand description
The item a StatusContradiction is about, under the member naming its kind — task, as
every contradiction was before a project could be one, or project.
Variants§
Implementations§
Source§impl ContradictedItem
impl ContradictedItem
Sourcepub const fn classification(&self) -> Classification
pub const fn classification(&self) -> Classification
The item’s declared classification.
Sourcepub fn repositories(&self) -> &[Repository]
pub fn repositories(&self) -> &[Repository]
The repositories the item names.
Trait Implementations§
Source§impl Clone for ContradictedItem
impl Clone for ContradictedItem
Source§impl Debug for ContradictedItem
impl Debug for ContradictedItem
Source§impl<'de> Deserialize<'de> for ContradictedItem
impl<'de> Deserialize<'de> for ContradictedItem
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 ContradictedItem
impl JsonSchema for ContradictedItem
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 ContradictedItem
impl PartialEq for ContradictedItem
Source§impl Serialize for ContradictedItem
impl Serialize for ContradictedItem
impl StructuralPartialEq for ContradictedItem
Auto Trait Implementations§
impl Freeze for ContradictedItem
impl RefUnwindSafe for ContradictedItem
impl Send for ContradictedItem
impl Sync for ContradictedItem
impl Unpin for ContradictedItem
impl UnsafeUnpin for ContradictedItem
impl UnwindSafe for ContradictedItem
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