Struct Modem3gppFacility
pub struct Modem3gppFacility(u32);Expand description
Facilities that a PIN can lock.
Tuple Fields§
§0: u32Implementations§
§impl Modem3gppFacility
impl Modem3gppFacility
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.
§impl Modem3gppFacility
impl Modem3gppFacility
pub const NONE: Self
pub const NONE: Self
The empty set of facilities.
pub const SIM: Self
pub const SIM: Self
The SIM PIN lock.
pub const FIXED_DIALING: Self
pub const FIXED_DIALING: Self
The fixed dialing lock.
pub const PH_SIM: Self
pub const PH_SIM: Self
The lock that ties the SIM to the device.
pub const PH_FSIM: Self
pub const PH_FSIM: Self
The lock that ties the first SIM to the device.
pub const NET_PERS: Self
pub const NET_PERS: Self
The network personalization lock.
pub const NET_SUB_PERS: Self
pub const NET_SUB_PERS: Self
The network subset personalization lock.
pub const PROVIDER_PERS: Self
pub const PROVIDER_PERS: Self
The lock that personalizes the device for a provider.
pub const CORP_PERS: Self
pub const CORP_PERS: Self
The corporate personalization lock.
Trait Implementations§
§impl BitAnd for Modem3gppFacility
impl BitAnd for Modem3gppFacility
§impl BitAndAssign for Modem3gppFacility
impl BitAndAssign for Modem3gppFacility
§fn bitand_assign(&mut self, __other: Self)
fn bitand_assign(&mut self, __other: Self)
Performs the
&= operation. Read more§impl BitOr for Modem3gppFacility
impl BitOr for Modem3gppFacility
§impl BitOrAssign for Modem3gppFacility
impl BitOrAssign for Modem3gppFacility
§fn bitor_assign(&mut self, __other: Self)
fn bitor_assign(&mut self, __other: Self)
Performs the
|= operation. Read more§impl Clone for Modem3gppFacility
impl Clone for Modem3gppFacility
§fn clone(&self) -> Modem3gppFacility
fn clone(&self) -> Modem3gppFacility
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 Modem3gppFacility
§impl Debug for Modem3gppFacility
impl Debug for Modem3gppFacility
§impl Default for Modem3gppFacility
impl Default for Modem3gppFacility
§fn default() -> Modem3gppFacility
fn default() -> Modem3gppFacility
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for Modem3gppFacility
impl<'de> Deserialize<'de> for Modem3gppFacility
§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 Modem3gppFacility
§impl From<Modem3gppFacility> for u32
impl From<Modem3gppFacility> for u32
§fn from(__value: Modem3gppFacility) -> Self
fn from(__value: Modem3gppFacility) -> Self
Converts to this type from the input type.
§impl From<Modem3gppFacility> for Value<'static>
impl From<Modem3gppFacility> for Value<'static>
§fn from(__value: Modem3gppFacility) -> Self
fn from(__value: Modem3gppFacility) -> Self
Converts to this type from the input type.
§impl From<u32> for Modem3gppFacility
impl From<u32> for Modem3gppFacility
§impl Hash for Modem3gppFacility
impl Hash for Modem3gppFacility
§impl PartialEq for Modem3gppFacility
impl PartialEq for Modem3gppFacility
§impl Serialize for Modem3gppFacility
impl Serialize for Modem3gppFacility
impl StructuralPartialEq for Modem3gppFacility
§impl Sub for Modem3gppFacility
impl Sub for Modem3gppFacility
§impl SubAssign for Modem3gppFacility
impl SubAssign for Modem3gppFacility
§fn sub_assign(&mut self, __other: Self)
fn sub_assign(&mut self, __other: Self)
Performs the
-= operation. Read more§impl TryFrom<OwnedValue> for Modem3gppFacility
impl TryFrom<OwnedValue> for Modem3gppFacility
§impl<'__a> TryFrom<Value<'__a>> for Modem3gppFacility
impl<'__a> TryFrom<Value<'__a>> for Modem3gppFacility
§impl Type for Modem3gppFacility
impl Type for Modem3gppFacility
Auto Trait Implementations§
impl Freeze for Modem3gppFacility
impl RefUnwindSafe for Modem3gppFacility
impl Send for Modem3gppFacility
impl Sync for Modem3gppFacility
impl Unpin for Modem3gppFacility
impl UnsafeUnpin for Modem3gppFacility
impl UnwindSafe for Modem3gppFacility
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.