pub struct PropertyIndexKeyUsage {
pub entity: StoredIndexEntity,
pub key: String,
pub declared: bool,
pub bytes: usize,
}Expand description
One active hash property index key in a MemoryReport.
Fields§
§entity: StoredIndexEntity§key: String§declared: booltrue when a declared RANGE index or a uniqueness / key
constraint (through its backing RANGE index) on this key exists.
false for an implicit, lookup-activated index — including one
whose RANGE index was dropped (dropping the declaration leaves the
hash buckets in place for later lookups).
bytes: usizeEstimated bytes of the unscoped buckets plus every per-label /
per-type scope of this key. Same methodology as
MemoryReport::property_index_bytes.
Trait Implementations§
Source§impl Clone for PropertyIndexKeyUsage
impl Clone for PropertyIndexKeyUsage
Source§impl Debug for PropertyIndexKeyUsage
impl Debug for PropertyIndexKeyUsage
Source§impl<'de> Deserialize<'de> for PropertyIndexKeyUsage
impl<'de> Deserialize<'de> for PropertyIndexKeyUsage
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PropertyIndexKeyUsage
Source§impl PartialEq for PropertyIndexKeyUsage
impl PartialEq for PropertyIndexKeyUsage
Source§impl Serialize for PropertyIndexKeyUsage
impl Serialize for PropertyIndexKeyUsage
impl StructuralPartialEq for PropertyIndexKeyUsage
Auto Trait Implementations§
impl Freeze for PropertyIndexKeyUsage
impl RefUnwindSafe for PropertyIndexKeyUsage
impl Send for PropertyIndexKeyUsage
impl Sync for PropertyIndexKeyUsage
impl Unpin for PropertyIndexKeyUsage
impl UnsafeUnpin for PropertyIndexKeyUsage
impl UnwindSafe for PropertyIndexKeyUsage
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