pub struct UsedBy {
pub id: ObjectId,
pub provenance: Provenance,
pub also_unused: bool,
}Expand description
One referencing object behind an UnusedObject.
Fields§
§id: ObjectIdThe referencing object.
provenance: ProvenanceWhat kind of use the edge records.
also_unused: boolTrue when the referencing object is itself unused — the “also unused”
of the ← only used by X (also unused) annotation. False means the
referencing object is live but its use could not keep this one alive:
a key column kept alive only as an active relationship endpoint,
holding its table’s only reference, or the live table of an inactive
relationship nothing activates.
Trait Implementations§
impl Eq for UsedBy
impl StructuralPartialEq for UsedBy
Auto Trait Implementations§
impl Freeze for UsedBy
impl RefUnwindSafe for UsedBy
impl Send for UsedBy
impl Sync for UsedBy
impl Unpin for UsedBy
impl UnsafeUnpin for UsedBy
impl UnwindSafe for UsedBy
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.