[][src]Struct sql_builder::name::SqlName

pub struct SqlName { /* fields omitted */ }

Create safe name of identifier

Implementations

impl SqlName[src]

pub fn new<S: ToString>(name: S) -> Self[src]

Name of identifier

pub fn add<S: ToString>(&mut self, name: S) -> &mut Self[src]

Add additional part of identifier

pub fn alias<S: ToString>(&mut self, alias: S) -> &mut Self[src]

Add an alias for identifier

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

Make safe identifier

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

Make quoted identifier

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

Make backquoted identifier

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

Make bracket-quoted identifier

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

Make double quoted identifier

Trait Implementations

impl Clone for SqlName[src]

Auto Trait Implementations

impl RefUnwindSafe for SqlName

impl Send for SqlName

impl Sync for SqlName

impl Unpin for SqlName

impl UnwindSafe for SqlName

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> 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.