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<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
Source§impl PartialEq for TableWireSchema
impl PartialEq for TableWireSchema
Source§impl Serialize for TableWireSchema
impl Serialize for TableWireSchema
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