pub enum ScopePattern {
All(Scope),
Exact {
exact: String,
scopes: Scope,
},
Regex {
regex: Regex,
scopes: Scope,
},
Vec(Vec<ScopePattern>),
}
Variants§
Trait Implementations§
Source§impl Clone for ScopePattern
impl Clone for ScopePattern
Source§fn clone(&self) -> ScopePattern
fn clone(&self) -> ScopePattern
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 ScopePattern
impl Debug for ScopePattern
Source§impl<'de> Deserialize<'de> for ScopePattern
impl<'de> Deserialize<'de> for ScopePattern
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 PartialEq for ScopePattern
impl PartialEq for ScopePattern
Source§impl Serialize for ScopePattern
impl Serialize for ScopePattern
impl StructuralPartialEq for ScopePattern
Auto Trait Implementations§
impl Freeze for ScopePattern
impl RefUnwindSafe for ScopePattern
impl Send for ScopePattern
impl Sync for ScopePattern
impl Unpin for ScopePattern
impl UnwindSafe for ScopePattern
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