1 2 3 4 5 6 7 8
pub trait Queryable { fn to_query(self) -> String; } pub type LoadValues = String; pub trait PostQueryable { fn to_post_query(self) -> (String, LoadValues); }
1 2 3 4 5 6 7 8
pub trait Queryable { fn to_query(self) -> String; } pub type LoadValues = String; pub trait PostQueryable { fn to_post_query(self) -> (String, LoadValues); }