pub struct DatabaseChange {
pub definition: DatabaseDefinition,
pub metadata: DdlMetadata,
pub extra: Map<String, Value>,
}Expand description
A database creation or alteration message.
Fields§
§definition: DatabaseDefinitionDatabase definition.
metadata: DdlMetadataDDL metadata.
extra: Map<String, Value>Fields Maxwell emitted that this crate does not model, kept verbatim. Keys must not collide with the named fields above, or serializing writes them twice.
Trait Implementations§
Source§impl Clone for DatabaseChange
impl Clone for DatabaseChange
Source§impl Debug for DatabaseChange
impl Debug for DatabaseChange
Source§impl Default for DatabaseChange
impl Default for DatabaseChange
Source§impl<'de> Deserialize<'de> for DatabaseChange
impl<'de> Deserialize<'de> for DatabaseChange
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
impl Eq for DatabaseChange
Source§impl Hash for DatabaseChange
impl Hash for DatabaseChange
Source§impl PartialEq for DatabaseChange
impl PartialEq for DatabaseChange
Source§impl Serialize for DatabaseChange
impl Serialize for DatabaseChange
impl StructuralPartialEq for DatabaseChange
Auto Trait Implementations§
impl Freeze for DatabaseChange
impl RefUnwindSafe for DatabaseChange
impl Send for DatabaseChange
impl Sync for DatabaseChange
impl Unpin for DatabaseChange
impl UnsafeUnpin for DatabaseChange
impl UnwindSafe for DatabaseChange
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