pub enum SetDownloadBehaviorBehavior {
Deny,
Allow,
Default,
Unrecognized(String),
}Expand description
The values behavior accepts on setDownloadBehavior.
Variants§
Deny
deny
Allow
allow
Default
default
Unrecognized(String)
A value this vendored schema does not list. Chrome adds values ahead of the published protocol, so an unrecognised one is kept as it arrived rather than failing the payload it came in.
Trait Implementations§
Source§impl Clone for SetDownloadBehaviorBehavior
impl Clone for SetDownloadBehaviorBehavior
Source§impl Debug for SetDownloadBehaviorBehavior
impl Debug for SetDownloadBehaviorBehavior
Source§impl<'de> Deserialize<'de> for SetDownloadBehaviorBehavior
impl<'de> Deserialize<'de> for SetDownloadBehaviorBehavior
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 SetDownloadBehaviorBehavior
Source§impl Hash for SetDownloadBehaviorBehavior
impl Hash for SetDownloadBehaviorBehavior
impl StructuralPartialEq for SetDownloadBehaviorBehavior
Auto Trait Implementations§
impl Forget for SetDownloadBehaviorBehavior
impl Freeze for SetDownloadBehaviorBehavior
impl RefUnwindSafe for SetDownloadBehaviorBehavior
impl Send for SetDownloadBehaviorBehavior
impl Sync for SetDownloadBehaviorBehavior
impl Unpin for SetDownloadBehaviorBehavior
impl UnsafeUnpin for SetDownloadBehaviorBehavior
impl UnwindSafe for SetDownloadBehaviorBehavior
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