pub enum JsonFieldNamingProfile {
CamelCase,
SnakeCase,
PascalCase,
}Variants§
Implementations§
Source§impl JsonFieldNamingProfile
impl JsonFieldNamingProfile
pub fn from_model_value(value: &str) -> Result<Self, String>
Trait Implementations§
Source§impl Clone for JsonFieldNamingProfile
impl Clone for JsonFieldNamingProfile
Source§fn clone(&self) -> JsonFieldNamingProfile
fn clone(&self) -> JsonFieldNamingProfile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for JsonFieldNamingProfile
Source§impl Debug for JsonFieldNamingProfile
impl Debug for JsonFieldNamingProfile
Source§impl Default for JsonFieldNamingProfile
impl Default for JsonFieldNamingProfile
Source§fn default() -> JsonFieldNamingProfile
fn default() -> JsonFieldNamingProfile
Returns the “default value” for a type. Read more
impl Eq for JsonFieldNamingProfile
Source§impl PartialEq for JsonFieldNamingProfile
impl PartialEq for JsonFieldNamingProfile
impl StructuralPartialEq for JsonFieldNamingProfile
Auto Trait Implementations§
impl Freeze for JsonFieldNamingProfile
impl RefUnwindSafe for JsonFieldNamingProfile
impl Send for JsonFieldNamingProfile
impl Sync for JsonFieldNamingProfile
impl Unpin for JsonFieldNamingProfile
impl UnsafeUnpin for JsonFieldNamingProfile
impl UnwindSafe for JsonFieldNamingProfile
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