pub struct LegacyLink {Show 14 fields
pub source: String,
pub target: String,
pub relation: Option<String>,
pub kind: Option<String>,
pub edge_type: Option<String>,
pub confidence: Option<String>,
pub provenance: Option<String>,
pub line: Option<u32>,
pub character: Option<u32>,
pub compile_only: Option<bool>,
pub type_only: Option<bool>,
pub specifier: Option<String>,
pub usage: Option<String>,
pub attributes: BTreeMap<String, AttributeValue>,
}Expand description
Legacy link shape with all unknown fields preserved as attributes.
Fields§
§source: String§target: String§relation: Option<String>§kind: Option<String>§edge_type: Option<String>§confidence: Option<String>§provenance: Option<String>§line: Option<u32>§character: Option<u32>§compile_only: Option<bool>§type_only: Option<bool>§specifier: Option<String>§usage: Option<String>§attributes: BTreeMap<String, AttributeValue>Implementations§
Trait Implementations§
Source§impl Clone for LegacyLink
impl Clone for LegacyLink
Source§fn clone(&self) -> LegacyLink
fn clone(&self) -> LegacyLink
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 LegacyLink
impl Debug for LegacyLink
Source§impl<'de> Deserialize<'de> for LegacyLink
impl<'de> Deserialize<'de> for LegacyLink
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
impl Eq for LegacyLink
Source§impl PartialEq for LegacyLink
impl PartialEq for LegacyLink
Source§impl Serialize for LegacyLink
impl Serialize for LegacyLink
impl StructuralPartialEq for LegacyLink
Auto Trait Implementations§
impl Freeze for LegacyLink
impl RefUnwindSafe for LegacyLink
impl Send for LegacyLink
impl Sync for LegacyLink
impl Unpin for LegacyLink
impl UnsafeUnpin for LegacyLink
impl UnwindSafe for LegacyLink
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