Enum cynic_codegen::RenameAll [−][src]
Rules to rename all fields in an InputObject or variants in an Enum as GraphQL naming conventions usually don't match rust
Variants
For names that are entirely lowercase in GraphQL: myfield
For names that are entirely uppercase in GraphQL: MYFIELD
For names that are entirely pascal case in GraphQL: MyField
For names that are entirely camel case in GraphQL: myField
For names that are entirely snake case in GraphQL: my_field
For names that are entirely snake case in GraphQL: MY_FIELD
Trait Implementations
impl Clone for RenameAll[src]
impl Copy for RenameAll[src]
impl Debug for RenameAll[src]
impl FromMeta for RenameAll[src]
fn from_string(value: &str) -> Result<RenameAll, Error>[src]
pub fn from_nested_meta(item: &NestedMeta) -> Result<Self, Error>
pub fn from_meta(item: &Meta) -> Result<Self, Error>
pub fn from_word() -> Result<Self, Error>
pub fn from_list(items: &[NestedMeta]) -> Result<Self, Error>
pub fn from_value(value: &Lit) -> Result<Self, Error>
pub fn from_char(value: char) -> Result<Self, Error>
pub fn from_bool(value: bool) -> Result<Self, Error>
Auto Trait Implementations
impl RefUnwindSafe for RenameAll
impl Send for RenameAll
impl Sync for RenameAll
impl Unpin for RenameAll
impl UnwindSafe for RenameAll
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,