Struct dao::ColumnName
[−]
[src]
pub struct ColumnName { pub name: String, pub table: Option<String>, pub alias: Option<String>, }
Fields
name: String
table: Option<String>
alias: Option<String>
Methods
impl ColumnName
[src]
pub fn from(arg: &str) -> Self
[src]
create table with name
pub fn complete_name(&self) -> String
[src]
return the long name of the table using schema.table_name
Trait Implementations
impl Debug for ColumnName
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for ColumnName
[src]
fn eq(&self, __arg_0: &ColumnName) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ColumnName) -> bool
[src]
This method tests for !=
.
impl Clone for ColumnName
[src]
fn clone(&self) -> ColumnName
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more