Trait names_changer::NamesChanger[][src]

pub trait NamesChanger {
    type Owned;
    fn camel_to_snake(&self) -> Self::Owned;
}

Associated Types

Loading content...

Required methods

fn camel_to_snake(&self) -> Self::Owned[src]

Convert a names of sql schemes from camelcase to snake case.

Examples

use names_changer::NamesChanger;

assert_eq!(&"TABLE ClientTokensRef IS 'text';".camel_to_snake(),
"TABLE client_tokens_ref IS 'text';");
Loading content...

Implementations on Foreign Types

impl NamesChanger for str[src]

Loading content...

Implementors

Loading content...