pub struct McmetaFilterBlock {
pub namespace: String,
pub path: String,
}
Expand description
A pattern.
Any file that matches one of the patterns inside here is treated as if it was not present in the pack at all.
Fields§
§namespace: String
A regular expression for the namespace of files to be filtered out. If unspecified, it applies to every namespace.
path: String
A regular expression for the paths of files to be filtered out. If unspecified, it applies to every file.
Trait Implementations§
Source§impl Clone for McmetaFilterBlock
impl Clone for McmetaFilterBlock
Source§fn clone(&self) -> McmetaFilterBlock
fn clone(&self) -> McmetaFilterBlock
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 McmetaFilterBlock
impl Debug for McmetaFilterBlock
Source§impl<'de> Deserialize<'de> for McmetaFilterBlock
impl<'de> Deserialize<'de> for McmetaFilterBlock
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 McmetaFilterBlock
impl PartialEq for McmetaFilterBlock
Source§impl Serialize for McmetaFilterBlock
impl Serialize for McmetaFilterBlock
impl Eq for McmetaFilterBlock
impl StructuralPartialEq for McmetaFilterBlock
Auto Trait Implementations§
impl Freeze for McmetaFilterBlock
impl RefUnwindSafe for McmetaFilterBlock
impl Send for McmetaFilterBlock
impl Sync for McmetaFilterBlock
impl Unpin for McmetaFilterBlock
impl UnwindSafe for McmetaFilterBlock
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