pub struct Service {
pub operations: Vec<Operation>,
pub security_schemes: Vec<SecurityScheme>,
}Expand description
A generated axum server interface: the Api trait plus the operations that
back its Router.
Fields§
§operations: Vec<Operation>Operations in deterministic (document) order.
security_schemes: Vec<SecurityScheme>Security schemes referenced by at least one operation, in the order they
are declared in components.securitySchemes. The client emitter turns
each into a credential field and a with_<scheme> builder setter. The
server emitter ignores them (server-side auth is not generated yet).
Trait Implementations§
impl StructuralPartialEq for Service
Auto Trait Implementations§
impl Freeze for Service
impl RefUnwindSafe for Service
impl Send for Service
impl Sync for Service
impl Unpin for Service
impl UnsafeUnpin for Service
impl UnwindSafe for Service
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