[][src]Struct rustorm_dao::TableName

pub struct TableName {
    pub name: String,
    pub schema: Option<String>,
    pub alias: Option<String>,
}

Fields

name: Stringschema: Option<String>alias: Option<String>

Methods

impl TableName[src]

pub fn from(arg: &str) -> Self[src]

create table with name

pub fn name(&self) -> String[src]

pub fn safe_name(&self) -> String[src]

pub fn complete_name(&self) -> String[src]

return the long name of the table using schema.table_name

pub fn safe_complete_name(&self) -> String[src]

Trait Implementations

impl Clone for TableName[src]

impl Debug for TableName[src]

impl<'de> Deserialize<'de> for TableName[src]

impl Eq for TableName[src]

impl Hash for TableName[src]

impl PartialEq<TableName> for TableName[src]

impl Serialize for TableName[src]

impl StructuralPartialEq for TableName[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.