pub struct NodeConstraint_ {
pub table_id: String,
pub table_renamed_from: Option<String>,
pub def: Constraint,
}Fields§
§table_id: String§table_renamed_from: Option<String>§def: ConstraintImplementations§
Source§impl NodeConstraint_
impl NodeConstraint_
pub fn compare( &self, old: &NodeConstraint_, created: &HashSet<GraphId>, ) -> Comparison
Trait Implementations§
Source§impl Clone for NodeConstraint_
impl Clone for NodeConstraint_
Source§fn clone(&self) -> NodeConstraint_
fn clone(&self) -> NodeConstraint_
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 NodeData for NodeConstraint_
impl NodeData for NodeConstraint_
fn update(&self, _ctx: &mut SqliteMigrateCtx, _old: &NodeConstraint_)
Source§impl NodeDataDispatch for NodeConstraint_
impl NodeDataDispatch for NodeConstraint_
fn create(&self, _ctx: &mut SqliteMigrateCtx)
fn delete(&self, _ctx: &mut SqliteMigrateCtx)
fn create_coalesce(&mut self, other: Node) -> Option<Node>
fn delete_coalesce(&mut self, other: Node) -> Option<Node>
Auto Trait Implementations§
impl Freeze for NodeConstraint_
impl RefUnwindSafe for NodeConstraint_
impl Send for NodeConstraint_
impl Sync for NodeConstraint_
impl Unpin for NodeConstraint_
impl UnsafeUnpin for NodeConstraint_
impl UnwindSafe for NodeConstraint_
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