pub struct SubjectImpact {
pub producer: String,
pub path: String,
pub class: String,
pub selector: String,
pub consumers: ConsumersReport,
pub coverage: Option<Vec<CoverageRow>>,
pub declared_publishers: Option<usize>,
pub declared_queryables: Option<usize>,
pub deprecated: Option<DeprecationFact>,
}Expand description
The blast radius of one declared subject (#224): its consumers, its storage coverage, what else declares on it, and its ledger entry.
Not ImpactReport — that name is the zenwatch attribution’s
(RFC 06 §5.6), a different question about a different plane.
Fields§
§producer: String§path: StringThe subject path as the registry spells it (disk/{mount}/used).
class: StringThe declared class chunk; * when the path is known only from the
[[deprecated]] ledger, whose entries carry no class.
selector: StringThe wire selector the subject’s family resolves to under the base.
consumers: ConsumersReport§coverage: Option<Vec<CoverageRow>>The RFC 04 §2 coverage rows for this subject. None = the storage
sweep was not made (no admin space answered, so an empty list would
read as “uncovered”); Some([]) = asked, and the subject is not a
state family — coverage does not apply.
declared_publishers: Option<usize>Distinct sessions declaring a publisher intersecting the selector. Absent when no admin space answered (not asked, O4).
declared_queryables: Option<usize>Distinct sessions declaring a queryable intersecting the selector.
deprecated: Option<DeprecationFact>The subject’s [[deprecated]] entry, when the ledger carries one.
Trait Implementations§
Source§impl Clone for SubjectImpact
impl Clone for SubjectImpact
Source§fn clone(&self) -> SubjectImpact
fn clone(&self) -> SubjectImpact
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SubjectImpact
impl Debug for SubjectImpact
Auto Trait Implementations§
impl Freeze for SubjectImpact
impl RefUnwindSafe for SubjectImpact
impl Send for SubjectImpact
impl Sync for SubjectImpact
impl Unpin for SubjectImpact
impl UnsafeUnpin for SubjectImpact
impl UnwindSafe for SubjectImpact
Blanket Implementations§
Source§impl<Source> AccessAs for Source
impl<Source> AccessAs for Source
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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> ⓘ
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> ⓘ
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