Struct BearerAllowedAuth
pub struct BearerAllowedAuth(u32);Expand description
Authentication methods of a bearer.
Tuple Fields§
§0: u32Implementations§
§impl BearerAllowedAuth
impl BearerAllowedAuth
pub const fn empty() -> Self
pub const fn empty() -> Self
Returns a value with no flags set.
pub const fn contains(self, __other: Self) -> bool
pub const fn contains(self, __other: Self) -> bool
Returns true if every flag of the argument is set.
pub const fn intersects(self, __other: Self) -> bool
pub const fn intersects(self, __other: Self) -> bool
Returns true if any flag of the argument is set.
pub const fn union(self, __other: Self) -> Self
pub const fn union(self, __other: Self) -> Self
Returns the flags set in either value.
pub const fn intersection(self, __other: Self) -> Self
pub const fn intersection(self, __other: Self) -> Self
Returns the flags set in both values.
pub const fn difference(self, __other: Self) -> Self
pub const fn difference(self, __other: Self) -> Self
Returns the flags of self without those of the argument.
Trait Implementations§
§impl BitAnd for BearerAllowedAuth
impl BitAnd for BearerAllowedAuth
§impl BitAndAssign for BearerAllowedAuth
impl BitAndAssign for BearerAllowedAuth
§fn bitand_assign(&mut self, __other: Self)
fn bitand_assign(&mut self, __other: Self)
Performs the
&= operation. Read more§impl BitOr for BearerAllowedAuth
impl BitOr for BearerAllowedAuth
§impl BitOrAssign for BearerAllowedAuth
impl BitOrAssign for BearerAllowedAuth
§fn bitor_assign(&mut self, __other: Self)
fn bitor_assign(&mut self, __other: Self)
Performs the
|= operation. Read more§impl Clone for BearerAllowedAuth
impl Clone for BearerAllowedAuth
§fn clone(&self) -> BearerAllowedAuth
fn clone(&self) -> BearerAllowedAuth
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 BearerAllowedAuth
§impl Debug for BearerAllowedAuth
impl Debug for BearerAllowedAuth
§impl Default for BearerAllowedAuth
impl Default for BearerAllowedAuth
§fn default() -> BearerAllowedAuth
fn default() -> BearerAllowedAuth
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for BearerAllowedAuth
impl<'de> Deserialize<'de> for BearerAllowedAuth
§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 BearerAllowedAuth
§impl From<BearerAllowedAuth> for u32
impl From<BearerAllowedAuth> for u32
§fn from(__value: BearerAllowedAuth) -> Self
fn from(__value: BearerAllowedAuth) -> Self
Converts to this type from the input type.
§impl From<BearerAllowedAuth> for Value<'static>
impl From<BearerAllowedAuth> for Value<'static>
§fn from(__value: BearerAllowedAuth) -> Self
fn from(__value: BearerAllowedAuth) -> Self
Converts to this type from the input type.
§impl From<u32> for BearerAllowedAuth
impl From<u32> for BearerAllowedAuth
§impl Hash for BearerAllowedAuth
impl Hash for BearerAllowedAuth
§impl PartialEq for BearerAllowedAuth
impl PartialEq for BearerAllowedAuth
§impl Serialize for BearerAllowedAuth
impl Serialize for BearerAllowedAuth
impl StructuralPartialEq for BearerAllowedAuth
§impl Sub for BearerAllowedAuth
impl Sub for BearerAllowedAuth
§impl SubAssign for BearerAllowedAuth
impl SubAssign for BearerAllowedAuth
§fn sub_assign(&mut self, __other: Self)
fn sub_assign(&mut self, __other: Self)
Performs the
-= operation. Read more§impl TryFrom<OwnedValue> for BearerAllowedAuth
impl TryFrom<OwnedValue> for BearerAllowedAuth
§impl<'__a> TryFrom<Value<'__a>> for BearerAllowedAuth
impl<'__a> TryFrom<Value<'__a>> for BearerAllowedAuth
§impl Type for BearerAllowedAuth
impl Type for BearerAllowedAuth
Auto Trait Implementations§
impl Freeze for BearerAllowedAuth
impl RefUnwindSafe for BearerAllowedAuth
impl Send for BearerAllowedAuth
impl Sync for BearerAllowedAuth
impl Unpin for BearerAllowedAuth
impl UnsafeUnpin for BearerAllowedAuth
impl UnwindSafe for BearerAllowedAuth
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
§type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
§fn deserializer_for_signature(
signature: &Signature,
) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
fn deserializer_for_signature( signature: &Signature, ) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
Get a deserializer compatible with this parsed signature.
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.