pub enum Node {
Table(NodeTable_),
Field(NodeField_),
Constraint(NodeConstraint_),
Index(NodeIndex_),
}Variants§
Trait Implementations§
Source§impl NodeData for Node
impl NodeData for Node
type O = SqliteMigrateCtx
type I = GraphId
fn compare( &self, other: &Node, created: &HashSet<<Node as NodeData>::I>, ) -> Comparison
fn create(&self, ctx: &mut SqliteMigrateCtx)
fn delete(&self, ctx: &mut SqliteMigrateCtx)
fn update(&self, ctx: &mut SqliteMigrateCtx, old: &Node)
fn create_coalesce(&mut self, other: Node) -> Option<Node>
fn delete_coalesce(&mut self, other: Node) -> Option<Node>
fn renamed_from(&self) -> Option<<Node as NodeData>::I>
Source§impl NodeDataDispatch for Node
impl NodeDataDispatch for Node
fn create(&self, ctx: &mut SqliteMigrateCtx)
fn create_coalesce(&mut self, other: Node) -> Option<Node>
fn delete_coalesce(&mut self, other: Node) -> Option<Node>
fn delete(&self, ctx: &mut SqliteMigrateCtx)
Auto Trait Implementations§
impl Freeze for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnsafeUnpin for Node
impl UnwindSafe for Node
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