pub struct PropertyFilter {
pub json_path: String,
pub op: FilterOp,
pub value: SqlValue,
}Expand description
A single json_extract(properties, '$.field') op value predicate.
Callers import this as khive_storage::note::PropertyFilter to avoid
collision with the vector-metadata PropertyFilter in khive_storage::types.
Fields§
§json_path: String§op: FilterOp§value: SqlValueTrait Implementations§
Source§impl Clone for PropertyFilter
impl Clone for PropertyFilter
Source§fn clone(&self) -> PropertyFilter
fn clone(&self) -> PropertyFilter
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 PropertyFilter
impl Debug for PropertyFilter
Source§impl<'de> Deserialize<'de> for PropertyFilter
impl<'de> Deserialize<'de> for PropertyFilter
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
Auto Trait Implementations§
impl Freeze for PropertyFilter
impl RefUnwindSafe for PropertyFilter
impl Send for PropertyFilter
impl Sync for PropertyFilter
impl Unpin for PropertyFilter
impl UnsafeUnpin for PropertyFilter
impl UnwindSafe for PropertyFilter
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