pub struct TableWireSchema {
pub name: Box<str>,
pub columns: Vec<Box<str>>,
pub primary_key: Vec<u32>,
}Expand description
One base table’s flat schema on the wire: its ordered column names (wire rows are
positional against them) and the primary-key column indices. The client validates
these against its own typed schema and registers any table it hasn’t yet (e.g. an
EXISTS witness table). No sort — base tables sort by PK in the memory source, and the
result sort is the client’s local engine’s concern (§3).
Fields§
§name: Box<str>§columns: Vec<Box<str>>§primary_key: Vec<u32>Trait Implementations§
Source§impl Clone for TableWireSchema
impl Clone for TableWireSchema
Source§fn clone(&self) -> TableWireSchema
fn clone(&self) -> TableWireSchema
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 TableWireSchema
impl Debug for TableWireSchema
Source§impl<'de> Deserialize<'de> for TableWireSchema
impl<'de> Deserialize<'de> for TableWireSchema
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TableWireSchema, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TableWireSchema, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TableWireSchema
impl PartialEq for TableWireSchema
Source§impl Serialize for TableWireSchema
impl Serialize for TableWireSchema
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 TableWireSchema
impl StructuralPartialEq for TableWireSchema
Auto Trait Implementations§
impl Freeze for TableWireSchema
impl RefUnwindSafe for TableWireSchema
impl Send for TableWireSchema
impl Sync for TableWireSchema
impl Unpin for TableWireSchema
impl UnsafeUnpin for TableWireSchema
impl UnwindSafe for TableWireSchema
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.