Enum syndicate::schemas::http::MethodPattern
source · pub enum MethodPattern {
Any,
Specific(String),
}Variants§
Trait Implementations§
source§impl Clone for MethodPattern
impl Clone for MethodPattern
source§fn clone(&self) -> MethodPattern
fn clone(&self) -> MethodPattern
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 MethodPattern
impl Debug for MethodPattern
source§impl<_Value: NestedValue> Deserialize<_Value> for MethodPattern
impl<_Value: NestedValue> Deserialize<_Value> for MethodPattern
fn deserialize<'de, R: Reader<'de, _Value>>( r: &mut R ) -> Result<Self, ParseError>
source§impl Domain for MethodPattern
impl Domain for MethodPattern
source§impl Hash for MethodPattern
impl Hash for MethodPattern
source§impl Ord for MethodPattern
impl Ord for MethodPattern
source§fn cmp(&self, other: &MethodPattern) -> Ordering
fn cmp(&self, other: &MethodPattern) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<'a, _L: Copy + Into<&'a Language<_Value>>, _Value: NestedValue + 'a> Parse<_L, _Value> for MethodPattern
impl<'a, _L: Copy + Into<&'a Language<_Value>>, _Value: NestedValue + 'a> Parse<_L, _Value> for MethodPattern
source§impl PartialEq for MethodPattern
impl PartialEq for MethodPattern
source§fn eq(&self, other: &MethodPattern) -> bool
fn eq(&self, other: &MethodPattern) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for MethodPattern
impl PartialOrd for MethodPattern
source§fn partial_cmp(&self, other: &MethodPattern) -> Option<Ordering>
fn partial_cmp(&self, other: &MethodPattern) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl<'a, _L: Copy + Into<&'a Language<_Value>>, _Value: NestedValue + 'a> Unparse<_L, _Value> for MethodPattern
impl<'a, _L: Copy + Into<&'a Language<_Value>>, _Value: NestedValue + 'a> Unparse<_L, _Value> for MethodPattern
impl Eq for MethodPattern
impl StructuralPartialEq for MethodPattern
Auto Trait Implementations§
impl RefUnwindSafe for MethodPattern
impl Send for MethodPattern
impl Sync for MethodPattern
impl Unpin for MethodPattern
impl UnwindSafe for MethodPattern
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