pub struct RouteMetadata {
pub name: String,
pub description: Option<String>,
pub version: String,
pub methods: Vec<String>,
pub tags: Vec<String>,
}
Expand description
Route metadata
Fields§
§name: String
Route name
description: Option<String>
Route description
version: String
Route version
methods: Vec<String>
Supported methods
Route tags
Trait Implementations§
Source§impl Clone for RouteMetadata
impl Clone for RouteMetadata
Source§fn clone(&self) -> RouteMetadata
fn clone(&self) -> RouteMetadata
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 RouteMetadata
impl Debug for RouteMetadata
Auto Trait Implementations§
impl Freeze for RouteMetadata
impl RefUnwindSafe for RouteMetadata
impl Send for RouteMetadata
impl Sync for RouteMetadata
impl Unpin for RouteMetadata
impl UnwindSafe for RouteMetadata
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