pub enum EdgeRelation {
Show 13 variants
Contains,
PartOf,
InstanceOf,
Extends,
VariantOf,
IntroducedBy,
Supersedes,
DependsOn,
Enables,
Implements,
CompetesWith,
ComposedWith,
Annotates,
}Expand description
Closed set of 13 canonical edge relations (ADR-002, ADR-021).
No Default — every edge requires an explicit relation.
Wire format: snake_case strings (e.g. "part_of", "introduced_by").
Variants§
Contains
PartOf
InstanceOf
Extends
VariantOf
IntroducedBy
Supersedes
DependsOn
Enables
Implements
CompetesWith
ComposedWith
Annotates
Implementations§
Trait Implementations§
Source§impl Clone for EdgeRelation
impl Clone for EdgeRelation
Source§fn clone(&self) -> EdgeRelation
fn clone(&self) -> EdgeRelation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EdgeRelation
impl Debug for EdgeRelation
Source§impl<'de> Deserialize<'de> for EdgeRelation
impl<'de> Deserialize<'de> for EdgeRelation
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 Display for EdgeRelation
impl Display for EdgeRelation
Source§impl FromStr for EdgeRelation
impl FromStr for EdgeRelation
Source§impl Hash for EdgeRelation
impl Hash for EdgeRelation
Source§impl PartialEq for EdgeRelation
impl PartialEq for EdgeRelation
Source§fn eq(&self, other: &EdgeRelation) -> bool
fn eq(&self, other: &EdgeRelation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EdgeRelation
impl Serialize for EdgeRelation
impl Copy for EdgeRelation
impl Eq for EdgeRelation
impl StructuralPartialEq for EdgeRelation
Auto Trait Implementations§
impl Freeze for EdgeRelation
impl RefUnwindSafe for EdgeRelation
impl Send for EdgeRelation
impl Sync for EdgeRelation
impl Unpin for EdgeRelation
impl UnsafeUnpin for EdgeRelation
impl UnwindSafe for EdgeRelation
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