pub struct CoordinationAnchor {
pub changed_file: String,
pub consumed_symbols: Vec<String>,
pub consumer_count: u64,
pub line: u32,
}Expand description
A coordination gap projected onto the public-API/contract decision shape: a changed contract consumed by a module outside the diff.
Fields§
§changed_file: StringRoot-relative path of the changed file whose contract is consumed elsewhere.
consumed_symbols: Vec<String>The consumed symbol names (the contract).
consumer_count: u64Count of distinct non-diff consumers of this changed file’s contract.
line: u321-based line of the contract symbol’s declaration in changed_file, so the
decision deep-links / inline-anchors to the exact export. 0 when the line
could not be resolved (graph not retained or file unreadable).
Trait Implementations§
Source§impl Clone for CoordinationAnchor
impl Clone for CoordinationAnchor
Auto Trait Implementations§
impl Freeze for CoordinationAnchor
impl RefUnwindSafe for CoordinationAnchor
impl Send for CoordinationAnchor
impl Sync for CoordinationAnchor
impl Unpin for CoordinationAnchor
impl UnsafeUnpin for CoordinationAnchor
impl UnwindSafe for CoordinationAnchor
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