pub enum ListBehavior {
Override,
Add,
}
Expand description
The behavior of the setting.
Variants§
Override
The list replaces the default list of the current mode, if one is set.
If no mode is set, this is the full allow list.
Add
The list is added to the default list of the current mode, if one is set.
If no mode is set, this is the full allow list.
Trait Implementations§
Source§impl Clone for ListBehavior
impl Clone for ListBehavior
Source§fn clone(&self) -> ListBehavior
fn clone(&self) -> ListBehavior
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 ListBehavior
impl Debug for ListBehavior
Source§impl PartialEq for ListBehavior
impl PartialEq for ListBehavior
impl Copy for ListBehavior
impl Eq for ListBehavior
impl StructuralPartialEq for ListBehavior
Auto Trait Implementations§
impl Freeze for ListBehavior
impl RefUnwindSafe for ListBehavior
impl Send for ListBehavior
impl Sync for ListBehavior
impl Unpin for ListBehavior
impl UnwindSafe for ListBehavior
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