pub struct TagProtection {
pub mode: Mode,
pub rules: BTreeMap<String, TagRule>,
}Expand description
Desired tag protections.
Fields§
§mode: ModeWhether undeclared tag protections are deleted.
rules: BTreeMap<String, TagRule>The desired rules, keyed by name pattern.
Trait Implementations§
Source§impl Clone for TagProtection
impl Clone for TagProtection
Source§fn clone(&self) -> TagProtection
fn clone(&self) -> TagProtection
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 TagProtection
impl Debug for TagProtection
impl Eq for TagProtection
Source§impl<'ʄ> Facet<'ʄ> for TagProtection
impl<'ʄ> Facet<'ʄ> for TagProtection
Source§impl PartialEq for TagProtection
impl PartialEq for TagProtection
impl StructuralPartialEq for TagProtection
Auto Trait Implementations§
impl Freeze for TagProtection
impl RefUnwindSafe for TagProtection
impl Send for TagProtection
impl Sync for TagProtection
impl Unpin for TagProtection
impl UnsafeUnpin for TagProtection
impl UnwindSafe for TagProtection
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.