pub struct FtsPropertySchemaRecord {
pub kind: String,
pub property_paths: Vec<String>,
pub entries: Vec<FtsPropertyPathSpec>,
pub exclude_paths: Vec<String>,
pub separator: String,
pub format_version: i64,
}Expand description
A registered FTS property projection schema for a node kind.
Fields§
§kind: StringThe node kind this schema applies to.
property_paths: Vec<String>Flat display list of registered JSON property paths
(e.g. ["$.name", "$.title"]). For recursive entries this lists
only the root path; mode information is carried by
Self::entries.
entries: Vec<FtsPropertyPathSpec>Full per-entry schema shape with mode
(FtsPropertyPathMode::Scalar | FtsPropertyPathMode::Recursive).
Read this field for mode-accurate round-trip of the registered
schema.
exclude_paths: Vec<String>Subtree paths excluded from recursive walks. Empty for scalar-only schemas or recursive schemas with no exclusions.
separator: StringSeparator used when concatenating extracted values.
format_version: i64Schema format version.
Trait Implementations§
Source§impl Clone for FtsPropertySchemaRecord
impl Clone for FtsPropertySchemaRecord
Source§fn clone(&self) -> FtsPropertySchemaRecord
fn clone(&self) -> FtsPropertySchemaRecord
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 FtsPropertySchemaRecord
impl Debug for FtsPropertySchemaRecord
Source§impl PartialEq for FtsPropertySchemaRecord
impl PartialEq for FtsPropertySchemaRecord
Source§impl Serialize for FtsPropertySchemaRecord
impl Serialize for FtsPropertySchemaRecord
impl Eq for FtsPropertySchemaRecord
impl StructuralPartialEq for FtsPropertySchemaRecord
Auto Trait Implementations§
impl Freeze for FtsPropertySchemaRecord
impl RefUnwindSafe for FtsPropertySchemaRecord
impl Send for FtsPropertySchemaRecord
impl Sync for FtsPropertySchemaRecord
impl Unpin for FtsPropertySchemaRecord
impl UnsafeUnpin for FtsPropertySchemaRecord
impl UnwindSafe for FtsPropertySchemaRecord
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§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.