pub struct ExtraDeriveConfig {
pub derives: Vec<String>,
pub dependencies: BTreeMap<String, String>,
}Expand description
Extra derives for a single type-kind (structs, enums, unions, or response structs).
Fields§
§derives: Vec<String>§dependencies: BTreeMap<String, String>Trait Implementations§
Source§impl Clone for ExtraDeriveConfig
impl Clone for ExtraDeriveConfig
Source§fn clone(&self) -> ExtraDeriveConfig
fn clone(&self) -> ExtraDeriveConfig
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 ExtraDeriveConfig
impl Debug for ExtraDeriveConfig
Source§impl Default for ExtraDeriveConfig
impl Default for ExtraDeriveConfig
Source§fn default() -> ExtraDeriveConfig
fn default() -> ExtraDeriveConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExtraDeriveConfig
impl<'de> Deserialize<'de> for ExtraDeriveConfig
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 ExtraDeriveConfig
impl RefUnwindSafe for ExtraDeriveConfig
impl Send for ExtraDeriveConfig
impl Sync for ExtraDeriveConfig
impl Unpin for ExtraDeriveConfig
impl UnsafeUnpin for ExtraDeriveConfig
impl UnwindSafe for ExtraDeriveConfig
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