pub struct GenerateConfig {
pub input: InputConfig,
pub output: OutputConfig,
pub plugins: HashMap<String, PluginConfig>,
pub options: Option<GenerateOptions>,
}Expand description
Configuration for mock generation
Fields§
§input: InputConfigInput specification configuration
output: OutputConfigOutput configuration
plugins: HashMap<String, PluginConfig>Plugins to use during generation
options: Option<GenerateOptions>Generation options
Trait Implementations§
Source§impl Clone for GenerateConfig
impl Clone for GenerateConfig
Source§fn clone(&self) -> GenerateConfig
fn clone(&self) -> GenerateConfig
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 GenerateConfig
impl Debug for GenerateConfig
Source§impl Default for GenerateConfig
impl Default for GenerateConfig
Source§impl<'de> Deserialize<'de> for GenerateConfig
impl<'de> Deserialize<'de> for GenerateConfig
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 GenerateConfig
impl RefUnwindSafe for GenerateConfig
impl Send for GenerateConfig
impl Sync for GenerateConfig
impl Unpin for GenerateConfig
impl UnwindSafe for GenerateConfig
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