pub struct SchemaDelta {
pub new_fields: Vec<(String, ModelField)>,
pub removed_fields: Vec<(String, String)>,
}Expand description
Schema-level changes.
Fields§
§new_fields: Vec<(String, ModelField)>New fields discovered: (model_name, field).
removed_fields: Vec<(String, String)>Fields removed: (model_name, field_name).
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 · 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
Source§impl<'de> Deserialize<'de> for SchemaDelta
impl<'de> Deserialize<'de> for SchemaDelta
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
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