pub struct GlobRule {
pub pattern: String,
pub weight: i32,
pub case_sensitive: bool,
}
Expand description
A glob rule in the database.
Fields§
§pattern: String
§weight: i32
§case_sensitive: bool
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GlobRule
impl<'de> Deserialize<'de> for GlobRule
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 From<&GlobElement> for GlobRule
impl From<&GlobElement> for GlobRule
Source§fn from(glob: &GlobElement) -> Self
fn from(glob: &GlobElement) -> Self
Converts to this type from the input type.
Source§impl From<GlobElement> for GlobRule
impl From<GlobElement> for GlobRule
Source§fn from(glob: GlobElement) -> Self
fn from(glob: GlobElement) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GlobRule
impl RefUnwindSafe for GlobRule
impl Send for GlobRule
impl Sync for GlobRule
impl Unpin for GlobRule
impl UnwindSafe for GlobRule
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