pub enum ModelMatcher {
Any,
Exact(String),
Prefix(String),
}Expand description
Selects which model names a ModelProfile applies to.
Variants§
Any
Matches every model.
Exact(String)
Matches exactly one model name.
Prefix(String)
Matches any model name starting with the given prefix.
Implementations§
Trait Implementations§
Source§impl Clone for ModelMatcher
impl Clone for ModelMatcher
Source§impl Debug for ModelMatcher
impl Debug for ModelMatcher
Source§impl Default for ModelMatcher
impl Default for ModelMatcher
impl Eq for ModelMatcher
Source§impl PartialEq for ModelMatcher
impl PartialEq for ModelMatcher
impl StructuralPartialEq for ModelMatcher
Auto Trait Implementations§
impl Freeze for ModelMatcher
impl RefUnwindSafe for ModelMatcher
impl Send for ModelMatcher
impl Sync for ModelMatcher
impl Unpin for ModelMatcher
impl UnsafeUnpin for ModelMatcher
impl UnwindSafe for ModelMatcher
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§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.