pub enum PayloadType {
Sms,
Binary,
Flash,
}
Expand description
SMS message type enum
Determines the type of the message payload
Variants§
Sms
regular text SMS, encoding defined by PayloadEncoding
Binary
raw binary encoding of bytes, some providers are incapable of handling those with their base stations, be warned
Flash
priority notification style SMS, there is no guarantee that this is stored on the phone
Implementations§
Trait Implementations§
Source§impl Clone for PayloadType
impl Clone for PayloadType
Source§fn clone(&self) -> PayloadType
fn clone(&self) -> PayloadType
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PayloadType
impl Debug for PayloadType
Source§impl<'de> Deserialize<'de> for PayloadType
impl<'de> Deserialize<'de> for PayloadType
Source§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
Source§impl FromStr for PayloadType
impl FromStr for PayloadType
Source§impl PartialEq for PayloadType
impl PartialEq for PayloadType
Source§impl Serialize for PayloadType
impl Serialize for PayloadType
Source§impl ToString for PayloadType
impl ToString for PayloadType
impl Eq for PayloadType
impl StructuralPartialEq for PayloadType
Auto Trait Implementations§
impl Freeze for PayloadType
impl RefUnwindSafe for PayloadType
impl Send for PayloadType
impl Sync for PayloadType
impl Unpin for PayloadType
impl UnwindSafe for PayloadType
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.