pub struct Operation {
pub id: String,
pub method: Method,
pub path: String,
pub params: Vec<ParamDecl>,
pub success_status: u16,
pub json_response: bool,
pub summary: String,
pub body_required: Vec<String>,
}Fields§
§id: String§method: Method§path: String§params: Vec<ParamDecl>§success_status: u16§json_response: bool§summary: String§body_required: Vec<String>Implementations§
Trait Implementations§
impl StructuralPartialEq for Operation
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