pub struct Operation { /* private fields */ }Implementations§
Source§impl Operation
impl Operation
pub fn with(responses: Responses) -> Self
pub fn param(self, param: Parameter) -> Self
pub fn requestbody(self, requestbody: RequestBody) -> Self
pub fn security( self, securityScheme: SecurityScheme, scopes: &[&'static str], ) -> Self
pub fn operation_id(self, operation_id: &'static str) -> Self
pub fn with_tag(self, tag: &'static str) -> Self
pub fn summary(self, summary: &'static str) -> Self
pub fn description(self, description: &'static str) -> Self
pub fn external_docs(self, external_docs: ExternalDoc) -> Self
pub fn deprecated(self) -> Self
pub fn inbound(self, inbound: Inbound) -> Self
pub fn param_description( self, name: &'static str, new_description: &'static str, ) -> Self
pub fn requestbody_description(self, new_description: &'static str) -> Self
pub fn response_description( self, status: impl Into<Status>, new_description: &'static str, ) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Operation
impl RefUnwindSafe for Operation
impl Send for Operation
impl Sync for Operation
impl Unpin for Operation
impl UnsafeUnpin for Operation
impl UnwindSafe for Operation
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