pub struct UnusedObject {
pub id: ObjectId,
pub used_by: Vec<UsedBy>,
pub named_by_m: Vec<ObjectId>,
}Expand description
One object reachability never reached — a scan finding.
Fields§
§id: ObjectIdThe unused object.
used_by: Vec<UsedBy>Every graph edge pointing at it. Empty means nothing references the object at all: the root cause of its dead chain, deletable outright.
named_by_m: Vec<ObjectId>The M expressions that name this object — its Power Query supply chain, carried beside the graph because it is deliberately not edges. Unloading the object cannot break these; removing it from the script entirely means editing each of them. Non-empty only ever for columns.
Trait Implementations§
Source§impl Clone for UnusedObject
impl Clone for UnusedObject
Source§fn clone(&self) -> UnusedObject
fn clone(&self) -> UnusedObject
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 UnusedObject
impl Debug for UnusedObject
impl Eq for UnusedObject
Source§impl PartialEq for UnusedObject
impl PartialEq for UnusedObject
impl StructuralPartialEq for UnusedObject
Auto Trait Implementations§
impl Freeze for UnusedObject
impl RefUnwindSafe for UnusedObject
impl Send for UnusedObject
impl Sync for UnusedObject
impl Unpin for UnusedObject
impl UnsafeUnpin for UnusedObject
impl UnwindSafe for UnusedObject
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.