pub struct JsonTableRow {
pub key: SqliteValue,
pub value: SqliteValue,
pub type_name: &'static str,
pub atom: SqliteValue,
pub id: i64,
pub parent: SqliteValue,
pub fullkey: String,
pub path: String,
}Expand description
Row shape produced by json_each and json_tree.
Fields§
§key: SqliteValueObject key, array index, or NULL (root/scalar).
value: SqliteValueValue column: scalars are SQL-native, objects/arrays are JSON text.
type_name: &'static strOne of: null, true, false, integer, real, text, array, object.
atom: SqliteValueScalar atom or NULL for arrays/objects.
id: i64Stable row identifier within the result set.
parent: SqliteValueParent row id (NULL at root/top-level).
fullkey: StringAbsolute JSON path for this row.
path: StringParent container path (or same as fullkey for root/scalar rows).
Trait Implementations§
Source§impl Clone for JsonTableRow
impl Clone for JsonTableRow
Source§fn clone(&self) -> JsonTableRow
fn clone(&self) -> JsonTableRow
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for JsonTableRow
impl Debug for JsonTableRow
Source§impl PartialEq for JsonTableRow
impl PartialEq for JsonTableRow
impl Eq for JsonTableRow
impl StructuralPartialEq for JsonTableRow
Auto Trait Implementations§
impl Freeze for JsonTableRow
impl RefUnwindSafe for JsonTableRow
impl Send for JsonTableRow
impl Sync for JsonTableRow
impl Unpin for JsonTableRow
impl UnsafeUnpin for JsonTableRow
impl UnwindSafe for JsonTableRow
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.