pub enum AllowDenyRequirement {
Allow,
Deny,
}Expand description
Allow/deny switch used across the browser-use / computer-use policy surface (0.148 upstream).
Variants§
Trait Implementations§
Source§impl Clone for AllowDenyRequirement
impl Clone for AllowDenyRequirement
Source§fn clone(&self) -> AllowDenyRequirement
fn clone(&self) -> AllowDenyRequirement
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 moreimpl Copy for AllowDenyRequirement
Source§impl Debug for AllowDenyRequirement
impl Debug for AllowDenyRequirement
Source§impl<'de> Deserialize<'de> for AllowDenyRequirement
impl<'de> Deserialize<'de> for AllowDenyRequirement
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 AllowDenyRequirement
Source§impl PartialEq for AllowDenyRequirement
impl PartialEq for AllowDenyRequirement
Source§impl Serialize for AllowDenyRequirement
impl Serialize for AllowDenyRequirement
impl StructuralPartialEq for AllowDenyRequirement
Auto Trait Implementations§
impl Freeze for AllowDenyRequirement
impl RefUnwindSafe for AllowDenyRequirement
impl Send for AllowDenyRequirement
impl Sync for AllowDenyRequirement
impl Unpin for AllowDenyRequirement
impl UnsafeUnpin for AllowDenyRequirement
impl UnwindSafe for AllowDenyRequirement
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