Trait rbatis::utils::table_util::FatherChildRelationship[][src]

pub trait FatherChildRelationship where
    Self: CRUDTable + Clone
{ fn get_father_id(&self) -> Option<&Self::IdType>;
fn set_childs(&mut self, arg: Vec<Self>); fn recursive_set_childs(&mut self, all_record: &HashMap<Self::IdType, Self>) { ... } }

Father-Child Relationship

Required methods

fn get_father_id(&self) -> Option<&Self::IdType>[src]

fn set_childs(&mut self, arg: Vec<Self>)[src]

Loading content...

Provided methods

fn recursive_set_childs(&mut self, all_record: &HashMap<Self::IdType, Self>)[src]

recursive_set_childs for Relationship

Loading content...

Implementors

Loading content...