pub struct Config {
pub header_params: bool,
pub cookie_params: bool,
}Expand description
Configuration for code generation.
Fields§
§header_params: boolImplementations§
Source§impl Config
impl Config
pub fn header_params(self, enabled: bool) -> Self
pub fn is_location_enabled(&self, location: &ParamLocation) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
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