Enum SmsStorage
#[non_exhaustive]pub enum SmsStorage {
Unknown,
Sm,
Me,
Mt,
Sr,
Bm,
Ta,
Other(u32),
}Expand description
A storage area for SMS messages.
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.
Unknown
The storage is not known. Pass it to use the default storage.
Sm
The SIM card.
Me
The device memory.
Mt
The SIM card and the device memory.
Sr
The status report storage.
Bm
The broadcast message storage.
Ta
The terminal adapter storage.
Other(u32)
A value that this version of the crate doesn’t know.
Implementations§
§impl SmsStorage
impl SmsStorage
Trait Implementations§
§impl Clone for SmsStorage
impl Clone for SmsStorage
§fn clone(&self) -> SmsStorage
fn clone(&self) -> SmsStorage
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 SmsStorage
§impl Debug for SmsStorage
impl Debug for SmsStorage
§impl<'de> Deserialize<'de> for SmsStorage
impl<'de> Deserialize<'de> for SmsStorage
§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 SmsStorage
§impl From<SmsStorage> for u32
impl From<SmsStorage> for u32
§fn from(__value: SmsStorage) -> Self
fn from(__value: SmsStorage) -> Self
Converts to this type from the input type.
§impl From<SmsStorage> for Value<'static>
impl From<SmsStorage> for Value<'static>
§fn from(__value: SmsStorage) -> Self
fn from(__value: SmsStorage) -> Self
Converts to this type from the input type.
§impl From<u32> for SmsStorage
impl From<u32> for SmsStorage
§impl Hash for SmsStorage
impl Hash for SmsStorage
§impl PartialEq for SmsStorage
impl PartialEq for SmsStorage
§impl Serialize for SmsStorage
impl Serialize for SmsStorage
impl StructuralPartialEq for SmsStorage
§impl TryFrom<OwnedValue> for SmsStorage
impl TryFrom<OwnedValue> for SmsStorage
§impl<'__a> TryFrom<Value<'__a>> for SmsStorage
impl<'__a> TryFrom<Value<'__a>> for SmsStorage
§impl Type for SmsStorage
impl Type for SmsStorage
Auto Trait Implementations§
impl Freeze for SmsStorage
impl RefUnwindSafe for SmsStorage
impl Send for SmsStorage
impl Sync for SmsStorage
impl Unpin for SmsStorage
impl UnsafeUnpin for SmsStorage
impl UnwindSafe for SmsStorage
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.