pub struct SnapshotRow {
pub key: String,
pub delete: bool,
pub bytes: Option<String>,
pub encoding: Option<String>,
pub timestamp: Option<String>,
pub stamper: Option<StamperWire>,
pub source: Option<String>,
pub source_zid: Option<String>,
pub registration: RegistrationWire,
pub verdict: VerdictWire,
pub holder: Holder,
}Expand description
One key, as the snapshot could establish it (RFC 13 §4.4).
Fields§
§key: StringFull wire key, verbatim — conformant or not (O1).
delete: boolA tombstone answered: authoritative retirement, never an empty put (RFC 04 §1.2). Always written.
bytes: Option<String>Base64 of the exact wire payload — lossless. Absent on a delete row: the tombstone is the whole fact.
encoding: Option<String>The reply’s declared encoding, verbatim, when it carried one.
timestamp: Option<String>The value’s HLC, when one rode it — provenance, whose clock
stamper says.
stamper: Option<StamperWire>O7’s classification of the HLC: whose clock stamped it. None
exactly when timestamp is.
source: Option<String>The publishing entity, zid:eid#sn, when SourceInfo rode the reply
— the SampleRow spelling. Usually absent.
source_zid: Option<String>The zenoh id of the session that answered, where the reply named
its replier (RFC 13 §4.4 source_zid). Not the same fact as
source: a storage answers for a publisher it is not.
registration: RegistrationWireO2’s rung, including “registry not loaded” — which is not “unregistered” (O4).
verdict: VerdictWireThe three-valued payload verdict, never a boolean (#159).
holder: HolderWho holds this value: evidence, not inference.
Implementations§
Trait Implementations§
Source§impl Clone for SnapshotRow
impl Clone for SnapshotRow
Source§fn clone(&self) -> SnapshotRow
fn clone(&self) -> SnapshotRow
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SnapshotRow
impl Debug for SnapshotRow
Source§impl<'de> Deserialize<'de> for SnapshotRow
impl<'de> Deserialize<'de> for SnapshotRow
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>,
Source§impl PartialEq for SnapshotRow
impl PartialEq for SnapshotRow
Source§impl Serialize for SnapshotRow
impl Serialize for SnapshotRow
impl StructuralPartialEq for SnapshotRow
Auto Trait Implementations§
impl Freeze for SnapshotRow
impl RefUnwindSafe for SnapshotRow
impl Send for SnapshotRow
impl Sync for SnapshotRow
impl Unpin for SnapshotRow
impl UnsafeUnpin for SnapshotRow
impl UnwindSafe for SnapshotRow
Blanket Implementations§
Source§impl<Source> AccessAs for Source
impl<Source> AccessAs for Source
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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> ⓘ
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> ⓘ
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