pub struct DefaultsDerivesConfig {
pub return_type: Vec<String>,
pub parameters_type: Vec<String>,
pub conditions_type: Vec<String>,
pub error_type: Vec<String>,
}Expand description
Default derive traits configuration for all generated types
Fields§
§return_type: Vec<String>Derive traits for return type structs Defaults to empty vec (Debug is always added)
parameters_type: Vec<String>Derive traits for parameters structs Defaults to empty vec (Debug is always added)
conditions_type: Vec<String>Derive traits for conditions structs Defaults to empty vec (Debug is always added)
error_type: Vec<String>Derive traits for error constraint enums Defaults to empty vec (Debug is always added)
Trait Implementations§
Source§impl Clone for DefaultsDerivesConfig
impl Clone for DefaultsDerivesConfig
Source§fn clone(&self) -> DefaultsDerivesConfig
fn clone(&self) -> DefaultsDerivesConfig
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 DefaultsDerivesConfig
impl Debug for DefaultsDerivesConfig
Source§impl Default for DefaultsDerivesConfig
impl Default for DefaultsDerivesConfig
Source§fn default() -> DefaultsDerivesConfig
fn default() -> DefaultsDerivesConfig
Returns the “default value” for a type. Read more
Source§impl PartialEq for DefaultsDerivesConfig
impl PartialEq for DefaultsDerivesConfig
impl StructuralPartialEq for DefaultsDerivesConfig
Auto Trait Implementations§
impl Freeze for DefaultsDerivesConfig
impl RefUnwindSafe for DefaultsDerivesConfig
impl Send for DefaultsDerivesConfig
impl Sync for DefaultsDerivesConfig
impl Unpin for DefaultsDerivesConfig
impl UnsafeUnpin for DefaultsDerivesConfig
impl UnwindSafe for DefaultsDerivesConfig
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