pub struct TypeEnumsConfig {
pub x_enum_varnames: Option<bool>,
pub x_enum_descriptions: Option<bool>,
}Fields§
§x_enum_varnames: Option<bool>§x_enum_descriptions: Option<bool>Trait Implementations§
Source§impl Clone for TypeEnumsConfig
impl Clone for TypeEnumsConfig
Source§fn clone(&self) -> TypeEnumsConfig
fn clone(&self) -> TypeEnumsConfig
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 moreSource§impl Debug for TypeEnumsConfig
impl Debug for TypeEnumsConfig
Source§impl Default for TypeEnumsConfig
impl Default for TypeEnumsConfig
Source§fn default() -> TypeEnumsConfig
fn default() -> TypeEnumsConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TypeEnumsConfigwhere
TypeEnumsConfig: Default,
impl<'de> Deserialize<'de> for TypeEnumsConfigwhere
TypeEnumsConfig: Default,
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 TypeEnumsConfig
impl RefUnwindSafe for TypeEnumsConfig
impl Send for TypeEnumsConfig
impl Sync for TypeEnumsConfig
impl Unpin for TypeEnumsConfig
impl UnsafeUnpin for TypeEnumsConfig
impl UnwindSafe for TypeEnumsConfig
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