pub struct NormalizedHello {
pub epoch: u64,
pub comparator_version: u32,
pub tables: Vec<TableWireSchema>,
pub normalized_fp: u64,
}Expand description
The subscription handshake (§3), sent once before any NormalizedBatch. Slimmer than
the flat Hello: flat per-table schemas, no nested view schema or per-level sort.
Fields§
§epoch: u64§comparator_version: u32§tables: Vec<TableWireSchema>The base tables this subscription’s footprint can surface (the query’s table tree), in a stable order (sorted by name) so the wire form is deterministic.
normalized_fp: u64FNV-1a-64 fingerprint over { table → (ordered columns, PK) } by name — a
sibling of the engine’s schema_fp. Drift ⇒ re-subscribe.
Trait Implementations§
Source§impl Clone for NormalizedHello
impl Clone for NormalizedHello
Source§fn clone(&self) -> NormalizedHello
fn clone(&self) -> NormalizedHello
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NormalizedHello
impl Debug for NormalizedHello
Source§impl<'de> Deserialize<'de> for NormalizedHello
impl<'de> Deserialize<'de> for NormalizedHello
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<NormalizedHello, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<NormalizedHello, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for NormalizedHello
impl PartialEq for NormalizedHello
Source§impl Serialize for NormalizedHello
impl Serialize for NormalizedHello
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for NormalizedHello
impl StructuralPartialEq for NormalizedHello
Auto Trait Implementations§
impl Freeze for NormalizedHello
impl RefUnwindSafe for NormalizedHello
impl Send for NormalizedHello
impl Sync for NormalizedHello
impl Unpin for NormalizedHello
impl UnsafeUnpin for NormalizedHello
impl UnwindSafe for NormalizedHello
Blanket Implementations§
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.