Enum EqlQueryPayload
pub enum EqlQueryPayload {
Encrypted(EncryptedQueryPayload),
SteVec(SteVecQueryPayload),
}Expand description
EQL query payload — partial encrypted payload used to match against stored
EqlCiphertext values.
Mirrors the storage payload’s root shape (discriminated by k) but omits
the c ciphertext: queries do not encrypt for storage. Not described by
the v2.3 storage schema; this is the cipherstash-suite query-side shape.
Variants§
Encrypted(EncryptedQueryPayload)
Root-scalar query payload (k = "ct") — matches an
EncryptedPayload on one of hm, bf, or ob.
SteVec(SteVecQueryPayload)
STE-vector query payload (k = "sv") — matches an SteVecPayload
on a selector path (s) or per-element term (hm / oc).
Implementations§
§impl EqlQueryPayload
impl EqlQueryPayload
pub fn identifier(&self) -> &Identifier
pub fn identifier(&self) -> &Identifier
Returns the table/column Identifier this query payload targets.
Trait Implementations§
§impl Debug for EqlQueryPayload
impl Debug for EqlQueryPayload
§impl<'de> Deserialize<'de> for EqlQueryPayload
impl<'de> Deserialize<'de> for EqlQueryPayload
§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 EqlQueryPayload
impl Serialize for EqlQueryPayload
Auto Trait Implementations§
impl Freeze for EqlQueryPayload
impl RefUnwindSafe for EqlQueryPayload
impl Send for EqlQueryPayload
impl Sync for EqlQueryPayload
impl Unpin for EqlQueryPayload
impl UnsafeUnpin for EqlQueryPayload
impl UnwindSafe for EqlQueryPayload
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