pub enum AllowRule {
Navigate {
site: Option<String>,
},
Research {
provider: Option<String>,
},
}Expand description
What a standing allow skips approval for.
Variants§
Navigate on one site, or everywhere when site is None.
Research
Research everywhere, optionally limited to one search provider.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AllowRule
impl<'de> Deserialize<'de> for AllowRule
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
impl Eq for AllowRule
impl StructuralPartialEq for AllowRule
Auto Trait Implementations§
impl Forget for AllowRule
impl Freeze for AllowRule
impl Move for AllowRule
impl RefUnwindSafe for AllowRule
impl Send for AllowRule
impl Sync for AllowRule
impl Unpin for AllowRule
impl UnsafeUnpin for AllowRule
impl UnwindSafe for AllowRule
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