#[non_exhaustive]pub struct ObjectState {
pub seq: u64,
pub changed_at_ms: u64,
pub holders: u64,
pub deleting: bool,
}Expand description
An object’s state row. Absent means never indexed: no holders, no holds, last change at 0, not deleting.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.seq: u64Change sequence; every mutation increments it.
changed_at_ms: u64Time of the last change, Unix ms (never moves backwards).
holders: u64Number of holder rows.
deleting: boolGC committed to deleting the object’s bytes (see the module docs).
Implementations§
Trait Implementations§
Source§impl Clone for ObjectState
impl Clone for ObjectState
impl Copy for ObjectState
Source§impl Debug for ObjectState
impl Debug for ObjectState
Source§impl Default for ObjectState
impl Default for ObjectState
impl Eq for ObjectState
Source§impl PartialEq for ObjectState
impl PartialEq for ObjectState
impl StructuralPartialEq for ObjectState
Auto Trait Implementations§
impl Freeze for ObjectState
impl RefUnwindSafe for ObjectState
impl Send for ObjectState
impl Sync for ObjectState
impl Unpin for ObjectState
impl UnsafeUnpin for ObjectState
impl UnwindSafe for ObjectState
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