pub enum OccurrenceValue {
ExplicitNull,
EmptyArray,
Stored {
ty: LogicalType,
},
}Expand description
ExplicitNull is a payload-free occurrence state, never a domain type.
Variants§
ExplicitNull
A property explicitly set to null.
EmptyArray
Marker occurrence for an array property with zero elements. Arrays are
stored element-wise, so an empty array has no elements to persist; this
payload-free marker (stored at elem 0) lets reconstruction emit a
genuine [] — matching prod, where empty arrays are preserved rather
than collapsed to null.
Stored
A stored scalar value of a logical type; its order-preserving payload is stored inline in the occurrence row.
Fields
§
ty: LogicalTypeLogical type of the stored scalar.
Implementations§
Trait Implementations§
Source§impl Clone for OccurrenceValue
impl Clone for OccurrenceValue
impl Copy for OccurrenceValue
Source§impl Debug for OccurrenceValue
impl Debug for OccurrenceValue
Source§impl<'de> Deserialize<'de> for OccurrenceValue
impl<'de> Deserialize<'de> for OccurrenceValue
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 OccurrenceValue
Source§impl PartialEq for OccurrenceValue
impl PartialEq for OccurrenceValue
Source§impl Serialize for OccurrenceValue
impl Serialize for OccurrenceValue
impl StructuralPartialEq for OccurrenceValue
Auto Trait Implementations§
impl Freeze for OccurrenceValue
impl RefUnwindSafe for OccurrenceValue
impl Send for OccurrenceValue
impl Sync for OccurrenceValue
impl Unpin for OccurrenceValue
impl UnsafeUnpin for OccurrenceValue
impl UnwindSafe for OccurrenceValue
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.