pub fn new(to: &str) -> RelationInfo {
        RelationInfo {
            to: String::from(to),
            fields: Vec::new(),
            references: Vec::new(),
            name: String::new(),
            on_delete: OnDeleteStrategy::None,
        }
    }
/// Creates a new relation info for the
/// given target model.
Creates a new relation info for the
given target model.
Creates a new relation info for the given target model .
pub fn new(to: &str) -> RelationInfo {
        RelationInfo {
            to: String::from(to),
            fields: Vec::new(),
            references: Vec::new(),
            name: String::new(),
            on_delete: OnDeleteStrategy::None,
        }
    }
pub fn new ( to : & str ) -> RelationInfo { RelationInfo { to : String :: from ( to ) , fields : Vec :: new ( ) , references : Vec :: new ( ) , name : String :: new ( ) , on_delete : OnDeleteStrategy :: None , } }
Creates a new relation info for the
given target model.
Creates a new relation info for the given target model .
to
&str