pub struct GlobConfig {
pub tags: Vec<String>,
pub weight: f64,
pub ignore: bool,
}
Fields§
§weight: f64
§ignore: bool
Trait Implementations§
Source§impl Clone for GlobConfig
impl Clone for GlobConfig
Source§fn clone(&self) -> GlobConfig
fn clone(&self) -> GlobConfig
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 GlobConfig
impl Debug for GlobConfig
Source§impl<'de> Deserialize<'de> for GlobConfig
impl<'de> Deserialize<'de> for GlobConfig
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 GlobConfig
impl PartialEq for GlobConfig
Source§impl Serialize for GlobConfig
impl Serialize for GlobConfig
impl StructuralPartialEq for GlobConfig
Auto Trait Implementations§
impl Freeze for GlobConfig
impl RefUnwindSafe for GlobConfig
impl Send for GlobConfig
impl Sync for GlobConfig
impl Unpin for GlobConfig
impl UnwindSafe for GlobConfig
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