pub struct JsonPathIdentityV1 {
pub root: JsonPathRootV1,
pub segments: Vec<PathSeg>,
}Expand description
Versioned structural identity for a query JSON path. Unlike the stored table-local form, this retains a qualified root until binding resolves it.
Fields§
§root: JsonPathRootV1§segments: Vec<PathSeg>Implementations§
Source§impl JsonPathIdentityV1
impl JsonPathIdentityV1
pub const VERSION: u8 = 1
pub fn from_expr(expr: &Expr) -> Option<Self>
pub fn canonical_bytes(&self) -> Vec<u8> ⓘ
pub fn canonical_text(&self) -> String
Sourcepub fn bind_table_local(
&self,
qualifier: Option<&str>,
) -> Option<StoredJsonPathV1>
pub fn bind_table_local( &self, qualifier: Option<&str>, ) -> Option<StoredJsonPathV1>
Bind an unqualified root, or a qualified root matching qualifier, to
the storage-owned table-local identity used by future expression-index
catalog entries.
Trait Implementations§
Source§impl Clone for JsonPathIdentityV1
impl Clone for JsonPathIdentityV1
Source§fn clone(&self) -> JsonPathIdentityV1
fn clone(&self) -> JsonPathIdentityV1
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 JsonPathIdentityV1
impl Debug for JsonPathIdentityV1
impl Eq for JsonPathIdentityV1
Source§impl Hash for JsonPathIdentityV1
impl Hash for JsonPathIdentityV1
Source§impl PartialEq for JsonPathIdentityV1
impl PartialEq for JsonPathIdentityV1
impl StructuralPartialEq for JsonPathIdentityV1
Auto Trait Implementations§
impl Freeze for JsonPathIdentityV1
impl RefUnwindSafe for JsonPathIdentityV1
impl Send for JsonPathIdentityV1
impl Sync for JsonPathIdentityV1
impl Unpin for JsonPathIdentityV1
impl UnsafeUnpin for JsonPathIdentityV1
impl UnwindSafe for JsonPathIdentityV1
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