#[repr(u8)]pub enum AlertOnMessageDelivery {
UseMobileDefaultAlert = 0,
UseLowPriorityAlert = 1,
UseMediumPriorityAlert = 2,
UseHighPriorityAlert = 3,
Other(u8),
}Variants§
UseMobileDefaultAlert = 0
UseLowPriorityAlert = 1
UseMediumPriorityAlert = 2
UseHighPriorityAlert = 3
Other(u8)
Trait Implementations§
Source§impl Clone for AlertOnMessageDelivery
impl Clone for AlertOnMessageDelivery
Source§fn clone(&self) -> AlertOnMessageDelivery
fn clone(&self) -> AlertOnMessageDelivery
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 AlertOnMessageDelivery
Source§impl Debug for AlertOnMessageDelivery
impl Debug for AlertOnMessageDelivery
Source§impl<'a> Decode<'a> for AlertOnMessageDelivery
impl<'a> Decode<'a> for AlertOnMessageDelivery
Source§fn decode(src: &'a [u8]) -> Result<(AlertOnMessageDelivery, usize), DecodeError>
fn decode(src: &'a [u8]) -> Result<(AlertOnMessageDelivery, usize), DecodeError>
Decode a value from a slice.
Source§impl Default for AlertOnMessageDelivery
impl Default for AlertOnMessageDelivery
Source§fn default() -> AlertOnMessageDelivery
fn default() -> AlertOnMessageDelivery
Returns the “default value” for a type. Read more
Source§impl Encode for AlertOnMessageDelivery
impl Encode for AlertOnMessageDelivery
impl Eq for AlertOnMessageDelivery
Source§impl From<u8> for AlertOnMessageDelivery
impl From<u8> for AlertOnMessageDelivery
Source§fn from(value: u8) -> AlertOnMessageDelivery
fn from(value: u8) -> AlertOnMessageDelivery
Converts to this type from the input type.
Source§impl Hash for AlertOnMessageDelivery
impl Hash for AlertOnMessageDelivery
Source§impl Ord for AlertOnMessageDelivery
impl Ord for AlertOnMessageDelivery
Source§fn cmp(&self, other: &AlertOnMessageDelivery) -> Ordering
fn cmp(&self, other: &AlertOnMessageDelivery) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for AlertOnMessageDelivery
impl PartialEq for AlertOnMessageDelivery
Source§impl PartialOrd for AlertOnMessageDelivery
impl PartialOrd for AlertOnMessageDelivery
impl StructuralPartialEq for AlertOnMessageDelivery
Auto Trait Implementations§
impl Freeze for AlertOnMessageDelivery
impl RefUnwindSafe for AlertOnMessageDelivery
impl Send for AlertOnMessageDelivery
impl Sync for AlertOnMessageDelivery
impl Unpin for AlertOnMessageDelivery
impl UnsafeUnpin for AlertOnMessageDelivery
impl UnwindSafe for AlertOnMessageDelivery
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