pub enum TableNamingConvention {
SnakeCase,
PascalCase,
}
Variants§
SnakeCase
Convert GraphQL type names to snake_case (default)
PascalCase
Keep GraphQL type names as-is
Trait Implementations§
Source§impl Clone for TableNamingConvention
impl Clone for TableNamingConvention
Source§fn clone(&self) -> TableNamingConvention
fn clone(&self) -> TableNamingConvention
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TableNamingConvention
impl Debug for TableNamingConvention
Source§impl Default for TableNamingConvention
impl Default for TableNamingConvention
Source§fn default() -> TableNamingConvention
fn default() -> TableNamingConvention
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TableNamingConvention
impl<'de> Deserialize<'de> for TableNamingConvention
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TableNamingConvention
impl RefUnwindSafe for TableNamingConvention
impl Send for TableNamingConvention
impl Sync for TableNamingConvention
impl Unpin for TableNamingConvention
impl UnwindSafe for TableNamingConvention
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more