pub enum AutoFk {
Auto {
suffix: String,
},
Off,
}Expand description
Zero-config FK inference: declare a KeyMatch rule per *_id field, or skip.
Auto-declared rule names are auto_fk_<src_label_lowercase>_<field>
(e.g. auto_fk_person_org_id, auto_fk_device_org_id) so two ingested
labels sharing an FK field each get their own rule. A name collision is
only the same (label, field) pair, where silent skip is correct.
Variants§
Trait Implementations§
impl Eq for AutoFk
impl StructuralPartialEq for AutoFk
Auto Trait Implementations§
impl Freeze for AutoFk
impl RefUnwindSafe for AutoFk
impl Send for AutoFk
impl Sync for AutoFk
impl Unpin for AutoFk
impl UnsafeUnpin for AutoFk
impl UnwindSafe for AutoFk
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