pub struct AttributedInstance {
pub instance: CloneInstance,
pub owner: String,
}Expand description
A clone instance plus its per-instance owner key (for inline JSON / SARIF rendering).
Each instance carries its own owner field alongside the standard
CloneInstance shape (file / start_line / end_line / start_col / end_col /
fragment), so consumers can attribute instances to resolver keys without
re-resolving paths.
Fields§
§instance: CloneInstanceThe original clone instance.
owner: StringResolver key for this specific instance (per-instance, not the group-level largest-owner).
Trait Implementations§
Source§impl Clone for AttributedInstance
impl Clone for AttributedInstance
Source§impl Debug for AttributedInstance
impl Debug for AttributedInstance
Auto Trait Implementations§
impl Freeze for AttributedInstance
impl RefUnwindSafe for AttributedInstance
impl Send for AttributedInstance
impl Sync for AttributedInstance
impl Unpin for AttributedInstance
impl UnsafeUnpin for AttributedInstance
impl UnwindSafe for AttributedInstance
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more