pub struct GenerateOptions {
pub client: Option<String>,
pub mode: Option<String>,
pub include_validation: bool,
pub include_examples: bool,
pub runtime: Option<String>,
}Expand description
Generation options
Fields§
§client: Option<String>Client library to generate for (reqwest, ureq, etc.)
mode: Option<String>Generation mode (operations, tags, paths)
include_validation: boolInclude validation in generated code
include_examples: boolInclude examples in responses
runtime: Option<String>Target runtime (tokio, async-std, sync)
Trait Implementations§
Source§impl Clone for GenerateOptions
impl Clone for GenerateOptions
Source§fn clone(&self) -> GenerateOptions
fn clone(&self) -> GenerateOptions
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 GenerateOptions
impl Debug for GenerateOptions
Source§impl Default for GenerateOptions
impl Default for GenerateOptions
Source§impl<'de> Deserialize<'de> for GenerateOptions
impl<'de> Deserialize<'de> for GenerateOptions
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 GenerateOptions
impl RefUnwindSafe for GenerateOptions
impl Send for GenerateOptions
impl Sync for GenerateOptions
impl Unpin for GenerateOptions
impl UnwindSafe for GenerateOptions
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