Enum ProfileIndexField
#[non_exhaustive]pub enum ProfileIndexField {
ProfileId,
ApnType,
Other(String),
}Expand description
The field that identifies a connection profile.
This is the value of the IndexField property.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ProfileId
Profiles have a profile-id. This is the default.
ApnType
Profiles have an apn-type. Only MBIM devices with the Microsoft
profile extensions use this.
Other(String)
A value that this version of the crate doesn’t know.
Implementations§
§impl ProfileIndexField
impl ProfileIndexField
Trait Implementations§
§impl AsRef<str> for ProfileIndexField
impl AsRef<str> for ProfileIndexField
§impl Clone for ProfileIndexField
impl Clone for ProfileIndexField
§fn clone(&self) -> ProfileIndexField
fn clone(&self) -> ProfileIndexField
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 ProfileIndexField
impl Debug for ProfileIndexField
§impl<'de> Deserialize<'de> for ProfileIndexField
impl<'de> Deserialize<'de> for ProfileIndexField
§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 Display for ProfileIndexField
impl Display for ProfileIndexField
impl Eq for ProfileIndexField
§impl From<&str> for ProfileIndexField
impl From<&str> for ProfileIndexField
§impl From<ProfileIndexField> for Value<'static>
impl From<ProfileIndexField> for Value<'static>
§fn from(__value: ProfileIndexField) -> Self
fn from(__value: ProfileIndexField) -> Self
Converts to this type from the input type.
§impl From<String> for ProfileIndexField
impl From<String> for ProfileIndexField
§impl FromStr for ProfileIndexField
impl FromStr for ProfileIndexField
§impl Hash for ProfileIndexField
impl Hash for ProfileIndexField
§impl PartialEq for ProfileIndexField
impl PartialEq for ProfileIndexField
§impl Serialize for ProfileIndexField
impl Serialize for ProfileIndexField
impl StructuralPartialEq for ProfileIndexField
§impl TryFrom<OwnedValue> for ProfileIndexField
impl TryFrom<OwnedValue> for ProfileIndexField
§impl<'__a> TryFrom<Value<'__a>> for ProfileIndexField
impl<'__a> TryFrom<Value<'__a>> for ProfileIndexField
§impl Type for ProfileIndexField
impl Type for ProfileIndexField
Auto Trait Implementations§
impl Freeze for ProfileIndexField
impl RefUnwindSafe for ProfileIndexField
impl Send for ProfileIndexField
impl Sync for ProfileIndexField
impl Unpin for ProfileIndexField
impl UnsafeUnpin for ProfileIndexField
impl UnwindSafe for ProfileIndexField
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.