pub struct RustGeneratorConfig {
pub crate_name: Option<String>,
pub extra_derives: Option<ExtraDerivesConfig>,
pub workspace_mode: Option<bool>,
pub workspace_deps: Option<WorkspaceDepsMode>,
pub utoipa: Option<UtoipaConfig>,
pub aioduct: Option<AioductFeatureConfig>,
}Expand description
Base configuration for Rust generators.
Fields§
§crate_name: Option<String>§extra_derives: Option<ExtraDerivesConfig>§workspace_mode: Option<bool>§workspace_deps: Option<WorkspaceDepsMode>§utoipa: Option<UtoipaConfig>§aioduct: Option<AioductFeatureConfig>Trait Implementations§
Source§impl Clone for RustGeneratorConfig
impl Clone for RustGeneratorConfig
Source§fn clone(&self) -> RustGeneratorConfig
fn clone(&self) -> RustGeneratorConfig
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 RustGeneratorConfig
impl Debug for RustGeneratorConfig
Source§impl Default for RustGeneratorConfig
impl Default for RustGeneratorConfig
Source§fn default() -> RustGeneratorConfig
fn default() -> RustGeneratorConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RustGeneratorConfig
impl<'de> Deserialize<'de> for RustGeneratorConfig
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 RustGeneratorConfig
impl RefUnwindSafe for RustGeneratorConfig
impl Send for RustGeneratorConfig
impl Sync for RustGeneratorConfig
impl Unpin for RustGeneratorConfig
impl UnsafeUnpin for RustGeneratorConfig
impl UnwindSafe for RustGeneratorConfig
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