Struct SteVecEntry
pub struct SteVecEntry {
pub selector: String,
pub ciphertext: EncryptedRecord,
pub is_array: Option<bool>,
pub term: SteVecEntryTerm,
}Expand description
One entry inside an SteVecPayload.
Per the v2.3 schema, every element carries s (selector), c
(ciphertext), and exactly one of SteVecEntryTerm::Hmac or
SteVecEntryTerm::OreCllw.
Fields§
§selector: StringHex-encoded tokenized selector — deterministic per (path, key).
ciphertext: EncryptedRecordPer-entry encrypted record (MessagePack Base85). Required.
is_array: Option<bool>Array marker — true when the selector points at a JSON array context.
term: SteVecEntryTermPer-element equality / ordering term. Exactly one of hm or oc.
Trait Implementations§
§impl Clone for SteVecEntry
impl Clone for SteVecEntry
§fn clone(&self) -> SteVecEntry
fn clone(&self) -> SteVecEntry
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 more§impl Debug for SteVecEntry
impl Debug for SteVecEntry
§impl<'de> Deserialize<'de> for SteVecEntry
impl<'de> Deserialize<'de> for SteVecEntry
§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 SteVecEntry
impl Serialize for SteVecEntry
Auto Trait Implementations§
impl Freeze for SteVecEntry
impl RefUnwindSafe for SteVecEntry
impl Send for SteVecEntry
impl Sync for SteVecEntry
impl Unpin for SteVecEntry
impl UnsafeUnpin for SteVecEntry
impl UnwindSafe for SteVecEntry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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