[][src]Struct format_sql_query::QuotedData

pub struct QuotedData<'i>(pub &'i str);

Strings and other data in single quotes.

Escaping rules:

  • put in ' and escape ' with ''
  • escape / with //

Methods

impl<'i> QuotedData<'i>[src]

pub fn map<F>(self, f: F) -> MapQuotedData<'i, F> where
    F: Fn(&'i str) -> String
[src]

Trait Implementations

impl<'i> Clone for QuotedData<'i>[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl<'i> From<&'i str> for QuotedData<'i>[src]

impl<'i> Copy for QuotedData<'i>[src]

impl<'i> PartialEq<QuotedData<'i>> for QuotedData<'i>[src]

impl<'_> Display for QuotedData<'_>[src]

impl<'i> Debug for QuotedData<'i>[src]

Auto Trait Implementations

impl<'i> Unpin for QuotedData<'i>

impl<'i> Sync for QuotedData<'i>

impl<'i> Send for QuotedData<'i>

impl<'i> UnwindSafe for QuotedData<'i>

impl<'i> RefUnwindSafe for QuotedData<'i>

Blanket Implementations

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> ToString for T where
    T: Display + ?Sized
[src]

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

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.

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

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

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