Struct diwata_intel::window::Window [−][src]
pub struct Window { pub name: String, pub description: Option<String>, pub group: Option<String>, pub main_tab: Tab, pub has_one_tabs: Vec<Tab>, pub one_one_tabs: Vec<Tab>, pub has_many_tabs: Vec<Tab>, pub indirect_tabs: Vec<(TableName, Tab)>, pub is_view: bool, }
Fields
name: String
maps to main table name
description: Option<String>
maps to table comment
group: Option<String>
group name where this window comes from maps to table schema
main_tab: Tab
corresponds to the main table
has_one_tabs: Vec<Tab>
table names that is referred by fields from the main table the first page of it is retrieved
one_one_tabs: Vec<Tab>
this record is linked 1:1 to this record and the table that contains that record is owned in this window and edited here
has_many_tabs: Vec<Tab>
the tabs that refers to the selected record 1:M
indirect_tabs: Vec<(TableName, Tab)>
an indirect connection to this record must have an option to remove/show from the list async loaded?
is_view: bool
Methods
impl Window
[src]
impl Window
pub fn has_column_name(&self, column_name: &ColumnName) -> bool
[src]
pub fn has_column_name(&self, column_name: &ColumnName) -> bool
Trait Implementations
impl Debug for Window
[src]
impl Debug for Window
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Window
[src]
impl Clone for Window