pub enum DownloadBehavior {
Deny,
Allow,
Default,
}Expand description
Download behavior.
Variants§
Trait Implementations§
Source§impl Clone for DownloadBehavior
impl Clone for DownloadBehavior
Source§fn clone(&self) -> DownloadBehavior
fn clone(&self) -> DownloadBehavior
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 DownloadBehavior
Source§impl Debug for DownloadBehavior
impl Debug for DownloadBehavior
impl Eq for DownloadBehavior
Source§impl PartialEq for DownloadBehavior
impl PartialEq for DownloadBehavior
Source§fn eq(&self, other: &DownloadBehavior) -> bool
fn eq(&self, other: &DownloadBehavior) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DownloadBehavior
impl Serialize for DownloadBehavior
impl StructuralPartialEq for DownloadBehavior
Auto Trait Implementations§
impl Freeze for DownloadBehavior
impl RefUnwindSafe for DownloadBehavior
impl Send for DownloadBehavior
impl Sync for DownloadBehavior
impl Unpin for DownloadBehavior
impl UnsafeUnpin for DownloadBehavior
impl UnwindSafe for DownloadBehavior
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