Struct sozu_lib::router::MethodRule
source · pub struct MethodRule {
pub inner: Option<Method>,
}
Fields§
§inner: Option<Method>
Implementations§
Trait Implementations§
source§impl Clone for MethodRule
impl Clone for MethodRule
source§fn clone(&self) -> MethodRule
fn clone(&self) -> MethodRule
Returns a copy 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 MethodRule
impl Debug for MethodRule
source§impl PartialEq for MethodRule
impl PartialEq for MethodRule
source§fn eq(&self, other: &MethodRule) -> bool
fn eq(&self, other: &MethodRule) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for MethodRule
impl StructuralPartialEq for MethodRule
Auto Trait Implementations§
impl Freeze for MethodRule
impl RefUnwindSafe for MethodRule
impl Send for MethodRule
impl Sync for MethodRule
impl Unpin for MethodRule
impl UnwindSafe for MethodRule
Blanket Implementations§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.