pub struct OccurrenceRow {
pub owner_kind: OwnerKind,
pub owner_ord: u64,
pub property_id: u64,
pub family_id: u64,
pub elem_ordinal: Option<u64>,
pub occurrence_value: OccurrenceValue,
}Expand description
One property occurrence of a record or relationship. Its identity is
(owner_kind, owner_ord, property_id, elem); the canonical row is keyed by
exactly that (keys::occ_key, DC11).
Fields§
§owner_kind: OwnerKindWhether the owning row is a record or a relationship.
owner_ord: u64Dense ordinal of the owning row.
property_id: u64Property id this occurrence belongs to.
family_id: u64Property family this occurrence belongs to.
elem_ordinal: Option<u64>Element index within an array property, or None for scalars.
occurrence_value: OccurrenceValueThe occurrence’s value state. The value hash is not carried: it is a
function of this state and the canonical bytes
(occurrence_value_hash).
Trait Implementations§
Source§impl Clone for OccurrenceRow
impl Clone for OccurrenceRow
Source§impl Debug for OccurrenceRow
impl Debug for OccurrenceRow
Source§impl<'de> Deserialize<'de> for OccurrenceRow
impl<'de> Deserialize<'de> for OccurrenceRow
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
Source§impl PartialEq for OccurrenceRow
impl PartialEq for OccurrenceRow
Source§impl Serialize for OccurrenceRow
impl Serialize for OccurrenceRow
impl StructuralPartialEq for OccurrenceRow
Auto Trait Implementations§
impl Freeze for OccurrenceRow
impl RefUnwindSafe for OccurrenceRow
impl Send for OccurrenceRow
impl Sync for OccurrenceRow
impl Unpin for OccurrenceRow
impl UnsafeUnpin for OccurrenceRow
impl UnwindSafe for OccurrenceRow
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