pub struct Targets {
pub server: bool,
pub client: bool,
}Expand description
Which generator interfaces to emit alongside the shared per-operation types.
At least one field is set whenever emit_flat is called. The default, with
no field set, is models-only generation.
Fields§
§server: boolEmit the axum server interface.
client: boolEmit the blocking reqwest client.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Targets
impl RefUnwindSafe for Targets
impl Send for Targets
impl Sync for Targets
impl Unpin for Targets
impl UnsafeUnpin for Targets
impl UnwindSafe for Targets
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