pub struct EmergencyRouteRegistration {
pub method: HttpMethod,
pub path: &'static str,
pub name: &'static str,
}Expand description
Route descriptor used by emergency_route_registrations.
Fields§
§method: HttpMethodHTTP method for this route.
path: &'static strURL path for this route.
name: &'static strStable identifier adapters can use when emitting metrics.
Trait Implementations§
Source§impl Clone for EmergencyRouteRegistration
impl Clone for EmergencyRouteRegistration
Source§fn clone(&self) -> EmergencyRouteRegistration
fn clone(&self) -> EmergencyRouteRegistration
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 EmergencyRouteRegistration
impl Debug for EmergencyRouteRegistration
impl Copy for EmergencyRouteRegistration
impl Eq for EmergencyRouteRegistration
impl StructuralPartialEq for EmergencyRouteRegistration
Auto Trait Implementations§
impl Freeze for EmergencyRouteRegistration
impl RefUnwindSafe for EmergencyRouteRegistration
impl Send for EmergencyRouteRegistration
impl Sync for EmergencyRouteRegistration
impl Unpin for EmergencyRouteRegistration
impl UnsafeUnpin for EmergencyRouteRegistration
impl UnwindSafe for EmergencyRouteRegistration
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.