pub struct GoHttpConfig {
pub file_naming_convention: NamingConvention,
pub module_path: Option<String>,
pub package_name: Option<String>,
}Expand description
Go HTTP generator-specific configuration
Fields§
§file_naming_convention: NamingConventionFile naming convention (camelCase, kebab-case, snake_case, PascalCase)
module_path: Option<String>Go module path (e.g., “github.com/example/sdk”)
package_name: Option<String>Package name (defaults to OpenAPI title in lowercase)
Trait Implementations§
Source§impl Clone for GoHttpConfig
impl Clone for GoHttpConfig
Source§fn clone(&self) -> GoHttpConfig
fn clone(&self) -> GoHttpConfig
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 GoHttpConfig
impl Debug for GoHttpConfig
Source§impl Default for GoHttpConfig
impl Default for GoHttpConfig
Source§impl<'de> Deserialize<'de> for GoHttpConfig
impl<'de> Deserialize<'de> for GoHttpConfig
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 GoHttpConfig
impl RefUnwindSafe for GoHttpConfig
impl Send for GoHttpConfig
impl Sync for GoHttpConfig
impl Unpin for GoHttpConfig
impl UnsafeUnpin for GoHttpConfig
impl UnwindSafe for GoHttpConfig
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