pub struct OpenApiRoute {
pub method: String,
pub path: String,
pub summary: Option<String>,
pub description: Option<String>,
pub tags: Vec<String>,
pub requires_auth: bool,
pub required_roles: Vec<String>,
pub responses: Vec<OpenApiResponse>,
}Fields§
§method: String§path: String§summary: Option<String>§description: Option<String>§requires_auth: bool§required_roles: Vec<String>§responses: Vec<OpenApiResponse>Trait Implementations§
Source§impl Clone for OpenApiRoute
impl Clone for OpenApiRoute
Source§fn clone(&self) -> OpenApiRoute
fn clone(&self) -> OpenApiRoute
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OpenApiRoute
impl Debug for OpenApiRoute
Auto Trait Implementations§
impl Freeze for OpenApiRoute
impl RefUnwindSafe for OpenApiRoute
impl Send for OpenApiRoute
impl Sync for OpenApiRoute
impl Unpin for OpenApiRoute
impl UnsafeUnpin for OpenApiRoute
impl UnwindSafe for OpenApiRoute
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