pub struct Tables { /* private fields */ }Implementations§
Source§impl Tables
impl Tables
pub fn params_table_tree(params: JsonValue) -> JsonValue
pub fn params_table_select(params: JsonValue) -> JsonValue
pub fn params_dict_select(params: JsonValue) -> JsonValue
pub fn new(db: Db) -> Self
pub fn main_table_fields( &mut self, table: &str, fields: JsonValue, hidd_fields: Vec<&str>, show_fields: Vec<&str>, ) -> &mut Self
pub fn join_table_fields( &mut self, table: &str, fields: JsonValue, main_field: &str, join_field: &str, ) -> &mut Self
pub fn edit_fields(&mut self, fields: Vec<&str>) -> &mut Self
pub fn search_fields(&mut self, fields: Vec<&str>) -> &mut Self
Sourcepub fn filter_fields(&mut self, fields: Vec<&str>) -> &mut Self
pub fn filter_fields(&mut self, fields: Vec<&str>) -> &mut Self
条件过滤
pub fn get_table(&mut self) -> JsonValue
pub fn get_table_edit(&mut self) -> JsonValue
pub fn get_table_select(&mut self) -> JsonValue
pub fn get_table_dict_select(&mut self) -> JsonValue
Auto Trait Implementations§
impl Freeze for Tables
impl RefUnwindSafe for Tables
impl Send for Tables
impl Sync for Tables
impl Unpin for Tables
impl UnwindSafe for Tables
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