Struct Modem3gppNetworkRejection
#[non_exhaustive]pub struct Modem3gppNetworkRejection {
pub error: Option<NetworkError>,
pub operator_id: Option<String>,
pub operator_name: Option<String>,
pub access_technology: Option<ModemAccessTechnology>,
}Expand description
The last network rejection during registration.
Added in ModemManager 1.24.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.error: Option<NetworkError>The reason for the rejection.
operator_id: Option<String>The operator that the modem reported with the error.
operator_name: Option<String>The operator name that the modem reported with the error.
access_technology: Option<ModemAccessTechnology>The access technology that the modem reported with the error.
Trait Implementations§
§impl Clone for Modem3gppNetworkRejection
impl Clone for Modem3gppNetworkRejection
§fn clone(&self) -> Modem3gppNetworkRejection
fn clone(&self) -> Modem3gppNetworkRejection
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 more§impl Debug for Modem3gppNetworkRejection
impl Debug for Modem3gppNetworkRejection
§impl Default for Modem3gppNetworkRejection
impl Default for Modem3gppNetworkRejection
§fn default() -> Modem3gppNetworkRejection
fn default() -> Modem3gppNetworkRejection
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for Modem3gppNetworkRejection
impl<'de> Deserialize<'de> for Modem3gppNetworkRejection
§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 Modem3gppNetworkRejection
§impl From<Modem3gppNetworkRejection> for Value<'static>
impl From<Modem3gppNetworkRejection> for Value<'static>
§fn from(s: Modem3gppNetworkRejection) -> Self
fn from(s: Modem3gppNetworkRejection) -> Self
Converts to this type from the input type.
§impl PartialEq for Modem3gppNetworkRejection
impl PartialEq for Modem3gppNetworkRejection
§impl Serialize for Modem3gppNetworkRejection
impl Serialize for Modem3gppNetworkRejection
impl StructuralPartialEq for Modem3gppNetworkRejection
§impl TryFrom<Modem3gppNetworkRejection> for OwnedValue
impl TryFrom<Modem3gppNetworkRejection> for OwnedValue
§fn try_from(s: Modem3gppNetworkRejection) -> Result<Self>
fn try_from(s: Modem3gppNetworkRejection) -> Result<Self>
Performs the conversion.
§impl TryFrom<OwnedValue> for Modem3gppNetworkRejection
impl TryFrom<OwnedValue> for Modem3gppNetworkRejection
§impl TryFrom<Value<'static>> for Modem3gppNetworkRejection
impl TryFrom<Value<'static>> for Modem3gppNetworkRejection
§impl Type for Modem3gppNetworkRejection
impl Type for Modem3gppNetworkRejection
Auto Trait Implementations§
impl Freeze for Modem3gppNetworkRejection
impl RefUnwindSafe for Modem3gppNetworkRejection
impl Send for Modem3gppNetworkRejection
impl Sync for Modem3gppNetworkRejection
impl Unpin for Modem3gppNetworkRejection
impl UnsafeUnpin for Modem3gppNetworkRejection
impl UnwindSafe for Modem3gppNetworkRejection
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.