Struct ReplicatedTableSchema
pub struct ReplicatedTableSchema {
pub name: String,
pub columns: Vec<ReplicatedColumn>,
pub primary_key: Vec<usize>,
pub pk_is_rowid_alias: bool,
pub without_rowid: bool,
}Expand description
A persistent ordinary table accepted by the replicated-SQL schema envelope.
Fields§
§name: String§columns: Vec<ReplicatedColumn>§primary_key: Vec<usize>§pk_is_rowid_alias: bool§without_rowid: boolTrait Implementations§
§impl Clone for ReplicatedTableSchema
impl Clone for ReplicatedTableSchema
§fn clone(&self) -> ReplicatedTableSchema
fn clone(&self) -> ReplicatedTableSchema
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 more§impl Debug for ReplicatedTableSchema
impl Debug for ReplicatedTableSchema
§impl PartialEq for ReplicatedTableSchema
impl PartialEq for ReplicatedTableSchema
impl Eq for ReplicatedTableSchema
impl StructuralPartialEq for ReplicatedTableSchema
Auto Trait Implementations§
impl Freeze for ReplicatedTableSchema
impl RefUnwindSafe for ReplicatedTableSchema
impl Send for ReplicatedTableSchema
impl Sync for ReplicatedTableSchema
impl Unpin for ReplicatedTableSchema
impl UnsafeUnpin for ReplicatedTableSchema
impl UnwindSafe for ReplicatedTableSchema
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.