Struct SteVecEntryV3
pub struct SteVecEntryV3 {
pub selector: String,
pub ciphertext: Vec<u8>,
pub is_array: Option<bool>,
pub term: Option<SteVecEntryTermV3>,
}Expand description
One entry in a v3 SteVec document — selector s, per-entry ciphertext c,
optional array marker a, and (number/string path entries only) the
CLLW-OPE ordering term op. Per-entry v/i/k are NOT carried; the
envelope (including the key header h) lives only at the root.
Fields§
§selector: StringHex-encoded tokenized selector. Also the entry’s AEAD nonce source:
nonce = hex_decode(s)[..12].
ciphertext: Vec<u8>Raw AEAD output (base85). Required. NOT self-decryptable — the key
material lives in the envelope’s h.
is_array: Option<bool>Array marker — true when the selector points at a JSON array context. Emitted only when true; absence means false.
term: Option<SteVecEntryTermV3>Per-entry ordering term — present only on number/string path entries.
Trait Implementations§
§impl Clone for SteVecEntryV3
impl Clone for SteVecEntryV3
§fn clone(&self) -> SteVecEntryV3
fn clone(&self) -> SteVecEntryV3
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 SteVecEntryV3
impl Debug for SteVecEntryV3
§impl<'de> Deserialize<'de> for SteVecEntryV3
impl<'de> Deserialize<'de> for SteVecEntryV3
§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 SteVecEntryV3
impl Serialize for SteVecEntryV3
Auto Trait Implementations§
impl Freeze for SteVecEntryV3
impl RefUnwindSafe for SteVecEntryV3
impl Send for SteVecEntryV3
impl Sync for SteVecEntryV3
impl Unpin for SteVecEntryV3
impl UnsafeUnpin for SteVecEntryV3
impl UnwindSafe for SteVecEntryV3
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