pub struct TraceMapping {
pub spec_id: String,
pub spec_status: Option<String>,
pub depends_on: Vec<String>,
pub amends: Vec<String>,
pub amendment_record: Option<String>,
pub implementing_paths: Vec<ImplementingPath>,
pub resolved_units: Vec<ResolvedUnit>,
}Expand description
One spec’s mapping onto the code.
Fields§
§spec_id: String§spec_status: Option<String>§depends_on: Vec<String>§amends: Vec<String>§amendment_record: Option<String>§implementing_paths: Vec<ImplementingPath>Flat path ownership (whole-file granularity).
resolved_units: Vec<ResolvedUnit>Typed-unit ownership with physical line-spans.
Trait Implementations§
Source§impl Clone for TraceMapping
impl Clone for TraceMapping
Source§fn clone(&self) -> TraceMapping
fn clone(&self) -> TraceMapping
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 TraceMapping
impl Debug for TraceMapping
Source§impl<'de> Deserialize<'de> for TraceMapping
impl<'de> Deserialize<'de> for TraceMapping
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 PartialEq for TraceMapping
impl PartialEq for TraceMapping
Source§fn eq(&self, other: &TraceMapping) -> bool
fn eq(&self, other: &TraceMapping) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TraceMapping
impl Serialize for TraceMapping
impl StructuralPartialEq for TraceMapping
Auto Trait Implementations§
impl Freeze for TraceMapping
impl RefUnwindSafe for TraceMapping
impl Send for TraceMapping
impl Sync for TraceMapping
impl Unpin for TraceMapping
impl UnsafeUnpin for TraceMapping
impl UnwindSafe for TraceMapping
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