pub struct SchemaDelta {
pub added: Vec<(String, FieldType)>,
}Expand description
What a write implies for the schema.
Fields§
§added: Vec<(String, FieldType)>Fields that do not exist yet and would be created, in the order they appeared.
Implementations§
Trait Implementations§
Source§impl Clone for SchemaDelta
impl Clone for SchemaDelta
Source§fn clone(&self) -> SchemaDelta
fn clone(&self) -> SchemaDelta
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SchemaDelta
impl Debug for SchemaDelta
impl Eq for SchemaDelta
Source§impl PartialEq for SchemaDelta
impl PartialEq for SchemaDelta
impl StructuralPartialEq for SchemaDelta
Auto Trait Implementations§
impl Freeze for SchemaDelta
impl RefUnwindSafe for SchemaDelta
impl Send for SchemaDelta
impl Sync for SchemaDelta
impl Unpin for SchemaDelta
impl UnsafeUnpin for SchemaDelta
impl UnwindSafe for SchemaDelta
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
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.