#[repr(transparent)]pub struct DisableFlags(pub u32);Expand description
Feature disable flags.
Used with Request::disable_feature.
Tuple Fields§
§0: u32Implementations§
Source§impl DisableFlags
impl DisableFlags
Sourcepub const AUTHENTICATION: Self
pub const AUTHENTICATION: Self
Disable automatic authentication.
Sourcepub const KEEP_ALIVE: Self
pub const KEEP_ALIVE: Self
Disable HTTP keep-alive connections.
Trait Implementations§
Source§impl BitAnd for DisableFlags
impl BitAnd for DisableFlags
Source§impl BitAndAssign for DisableFlags
impl BitAndAssign for DisableFlags
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moreSource§impl BitOr for DisableFlags
impl BitOr for DisableFlags
Source§impl BitOrAssign for DisableFlags
impl BitOrAssign for DisableFlags
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl Clone for DisableFlags
impl Clone for DisableFlags
Source§fn clone(&self) -> DisableFlags
fn clone(&self) -> DisableFlags
Returns a duplicate 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 DisableFlags
impl Debug for DisableFlags
Source§impl Default for DisableFlags
impl Default for DisableFlags
Source§fn default() -> DisableFlags
fn default() -> DisableFlags
Returns the “default value” for a type. Read more
Source§impl From<DisableFlags> for u32
impl From<DisableFlags> for u32
Source§fn from(val: DisableFlags) -> u32
fn from(val: DisableFlags) -> u32
Converts to this type from the input type.
Source§impl From<u32> for DisableFlags
impl From<u32> for DisableFlags
Source§impl Hash for DisableFlags
impl Hash for DisableFlags
Source§impl Not for DisableFlags
impl Not for DisableFlags
Source§impl PartialEq for DisableFlags
impl PartialEq for DisableFlags
impl Copy for DisableFlags
impl Eq for DisableFlags
impl StructuralPartialEq for DisableFlags
Auto Trait Implementations§
impl Freeze for DisableFlags
impl RefUnwindSafe for DisableFlags
impl Send for DisableFlags
impl Sync for DisableFlags
impl Unpin for DisableFlags
impl UnwindSafe for DisableFlags
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