pub struct RestRoute {
pub method: &'static str,
pub path: &'static str,
pub action: Option<&'static str>,
pub auth: &'static str,
pub description: &'static str,
}Fields§
§method: &'static str§path: &'static str§action: Option<&'static str>§auth: &'static str§description: &'static strTrait Implementations§
impl Copy for RestRoute
impl Eq for RestRoute
impl StructuralPartialEq for RestRoute
Auto Trait Implementations§
impl Freeze for RestRoute
impl RefUnwindSafe for RestRoute
impl Send for RestRoute
impl Sync for RestRoute
impl Unpin for RestRoute
impl UnsafeUnpin for RestRoute
impl UnwindSafe for RestRoute
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.