pub struct RedundantRootPrefix {
pub zone_name: String,
pub pattern: String,
pub root: String,
}Expand description
One offending redundant-root-prefix pattern in a boundaries.zones[] entry.
Patterns are resolved relative to the zone root, so prefixing the pattern
with the same root double-prefixes the path and never matches a real file.
Fields§
§zone_name: StringName of the zone whose pattern redundantly includes its root.
pattern: StringThe offending pattern as authored.
root: StringThe normalized root that the pattern redundantly repeats.
Trait Implementations§
Source§impl Clone for RedundantRootPrefix
impl Clone for RedundantRootPrefix
Source§fn clone(&self) -> RedundantRootPrefix
fn clone(&self) -> RedundantRootPrefix
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RedundantRootPrefix
impl Debug for RedundantRootPrefix
Source§impl PartialEq for RedundantRootPrefix
impl PartialEq for RedundantRootPrefix
Source§fn eq(&self, other: &RedundantRootPrefix) -> bool
fn eq(&self, other: &RedundantRootPrefix) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for RedundantRootPrefix
impl StructuralPartialEq for RedundantRootPrefix
Auto Trait Implementations§
impl Freeze for RedundantRootPrefix
impl RefUnwindSafe for RedundantRootPrefix
impl Send for RedundantRootPrefix
impl Sync for RedundantRootPrefix
impl Unpin for RedundantRootPrefix
impl UnsafeUnpin for RedundantRootPrefix
impl UnwindSafe for RedundantRootPrefix
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.