Struct ImpactReport
pub struct ImpactReport {
pub target_kind: AliasKind,
pub target_alias: String,
pub blockers: Vec<RefSite>,
pub scrubs: Vec<RefSite>,
pub owned_state: Vec<OwnedArtifact>,
pub allowed: bool,
}Expand description
Dry-run plan for deleting an aliased entry: which references block the delete, which would be scrubbed, and whether the delete is allowed.
Fields§
§target_kind: AliasKind§target_alias: String§blockers: Vec<RefSite>Hard references — non-empty means the delete is refused.
scrubs: Vec<RefSite>Soft references that would be scrubbed.
owned_state: Vec<OwnedArtifact>Owned non-config state — empty from the pure config walk; populated by the surface cascade, which owns the infra stores.
allowed: booltrue iff no hard reference (or hard owned artifact) blocks the delete.
Trait Implementations§
Source§impl Clone for ImpactReport
impl Clone for ImpactReport
Source§fn clone(&self) -> ImpactReport
fn clone(&self) -> ImpactReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · §fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ImpactReport
impl RefUnwindSafe for ImpactReport
impl Send for ImpactReport
impl Sync for ImpactReport
impl Unpin for ImpactReport
impl UnsafeUnpin for ImpactReport
impl UnwindSafe for ImpactReport
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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