#[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<'arbitrary> Arbitrary<'arbitrary> for AlertOnMessageDelivery
impl<'arbitrary> Arbitrary<'arbitrary> for AlertOnMessageDelivery
Source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self from the given unstructured data. Read moreSource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self from the entirety of the given
unstructured data. Read moreSource§fn size_hint(depth: usize) -> (usize, Option<usize>)
fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an
Unstructured this type
needs to construct itself. Read moreSource§fn try_size_hint(
depth: usize,
) -> Result<(usize, Option<usize>), MaxRecursionReached>
fn try_size_hint( depth: usize, ) -> Result<(usize, Option<usize>), MaxRecursionReached>
Get a size hint for how many bytes out of an
Unstructured this type
needs to construct itself. Read moreSource§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§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AlertOnMessageDelivery
impl Debug for AlertOnMessageDelivery
Source§impl<'a> Decode<'a> for AlertOnMessageDelivery
impl<'a> Decode<'a> for AlertOnMessageDelivery
Source§impl Decode for AlertOnMessageDelivery
Available on crate feature alloc only.
impl Decode for AlertOnMessageDelivery
Available on crate feature
alloc only.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<'de> Deserialize<'de> for AlertOnMessageDelivery
impl<'de> Deserialize<'de> for AlertOnMessageDelivery
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 Encode for AlertOnMessageDelivery
impl Encode for AlertOnMessageDelivery
Source§impl Encode for AlertOnMessageDelivery
Available on crate feature alloc only.
impl Encode for AlertOnMessageDelivery
Available on crate feature
alloc only.Source§impl From<AlertOnMessageDelivery> for u8
impl From<AlertOnMessageDelivery> for u8
Source§fn from(value: AlertOnMessageDelivery) -> Self
fn from(value: AlertOnMessageDelivery) -> Self
Converts to this type from the input type.
Source§impl From<u8> for AlertOnMessageDelivery
impl From<u8> for AlertOnMessageDelivery
Source§impl Hash for AlertOnMessageDelivery
impl Hash for AlertOnMessageDelivery
Source§impl Ord for AlertOnMessageDelivery
impl Ord for AlertOnMessageDelivery
Source§impl PartialEq for AlertOnMessageDelivery
impl PartialEq for AlertOnMessageDelivery
Source§impl PartialOrd for AlertOnMessageDelivery
impl PartialOrd for AlertOnMessageDelivery
Source§impl Serialize for AlertOnMessageDelivery
impl Serialize for AlertOnMessageDelivery
impl Copy for AlertOnMessageDelivery
impl Eq 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 UnwindSafe for AlertOnMessageDelivery
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)