Enum SteVecQueryTerm
pub enum SteVecQueryTerm {
Selector {
selector: String,
},
Hmac {
hmac_256: String,
},
OreCllw {
ore_cllw_8: String,
},
Containment {
query_vec: SteQueryVec<16>,
},
}Expand description
Per-STE-vector query term. Exactly one of s, hm, oc, or q.
Containment carries the full STE query vector emitted for JSON
containment (@>) queries (one (selector, term) per path in the query
JSON). Other variants carry a single per-element lookup term.
Variants§
Selector
Hmac
OreCllw
Containment
Full STE query vector for JSON containment queries.
Serialized under q to avoid collision with SteVecPayload::ste_vec
(sv). The wire shape of SteQueryVec is opaque to this layer; the
proxy / database decodes it via the encryption crate’s serde impls.
Fields
§
query_vec: SteQueryVec<16>Trait Implementations§
§impl Debug for SteVecQueryTerm
impl Debug for SteVecQueryTerm
§impl<'de> Deserialize<'de> for SteVecQueryTerm
impl<'de> Deserialize<'de> for SteVecQueryTerm
§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 Serialize for SteVecQueryTerm
impl Serialize for SteVecQueryTerm
Auto Trait Implementations§
impl Freeze for SteVecQueryTerm
impl RefUnwindSafe for SteVecQueryTerm
impl Send for SteVecQueryTerm
impl Sync for SteVecQueryTerm
impl Unpin for SteVecQueryTerm
impl UnsafeUnpin for SteVecQueryTerm
impl UnwindSafe for SteVecQueryTerm
Blanket Implementations§
impl<T> AuthStrategyBounds for T
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
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more