Trait LogicDelete

Source
pub trait LogicDelete:
    Send
    + Sync
    + Debug {
    // Required methods
    fn is_exclusion_table(&self, table_name: &str) -> bool;
    fn column(&self) -> &str;
    fn deleted(&self) -> i16;
    fn un_deleted(&self) -> i16;
}

Required Methods§

Source

fn is_exclusion_table(&self, table_name: &str) -> bool

the name

Source

fn column(&self) -> &str

database column

Source

fn deleted(&self) -> i16

deleted data,must be i16

Source

fn un_deleted(&self) -> i16

un deleted data,must be i16

Implementors§