pub enum AttributeMode {
Object,
ValueOnly,
}
Expand description
Controls how scrubbing rules are applied to attributes.
Variants§
Object
Treat the attribute as an object and allow referring to individual fields.
ValueOnly
Identify the attribute with its value and apply all rules there directly.
Trait Implementations§
Source§impl Clone for AttributeMode
impl Clone for AttributeMode
Source§fn clone(&self) -> AttributeMode
fn clone(&self) -> AttributeMode
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 AttributeMode
impl Debug for AttributeMode
impl Copy for AttributeMode
Auto Trait Implementations§
impl Freeze for AttributeMode
impl RefUnwindSafe for AttributeMode
impl Send for AttributeMode
impl Sync for AttributeMode
impl Unpin for AttributeMode
impl UnwindSafe for AttributeMode
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