pub enum MethodGuard {
Any,
Some(BTreeSet<String>),
}Variants§
Trait Implementations§
Source§impl Clone for MethodGuard
impl Clone for MethodGuard
Source§fn clone(&self) -> MethodGuard
fn clone(&self) -> MethodGuard
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 MethodGuard
impl Debug for MethodGuard
Source§impl<'de> Deserialize<'de> for MethodGuard
impl<'de> Deserialize<'de> for MethodGuard
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for MethodGuard
impl Hash for MethodGuard
Source§impl Ord for MethodGuard
impl Ord for MethodGuard
Source§fn cmp(&self, other: &MethodGuard) -> Ordering
fn cmp(&self, other: &MethodGuard) -> 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 PartialEq for MethodGuard
impl PartialEq for MethodGuard
Source§impl PartialOrd for MethodGuard
impl PartialOrd for MethodGuard
Source§impl Serialize for MethodGuard
impl Serialize for MethodGuard
impl Eq for MethodGuard
impl StructuralPartialEq for MethodGuard
Auto Trait Implementations§
impl Freeze for MethodGuard
impl RefUnwindSafe for MethodGuard
impl Send for MethodGuard
impl Sync for MethodGuard
impl Unpin for MethodGuard
impl UnwindSafe for MethodGuard
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