pub enum PriorityArg {
Immediate,
Conserve,
}Expand description
Priority as a command-line value.
Variants§
Immediate
Deliver immediately (APNs 10, FCM HIGH, Web Push Urgency: high).
Conserve
Deliver when convenient, to conserve the device’s power.
Trait Implementations§
Source§impl Clone for PriorityArg
impl Clone for PriorityArg
impl Copy for PriorityArg
Source§impl Debug for PriorityArg
impl Debug for PriorityArg
Source§impl Default for PriorityArg
impl Default for PriorityArg
impl Eq for PriorityArg
Source§impl PartialEq for PriorityArg
impl PartialEq for PriorityArg
impl StructuralPartialEq for PriorityArg
Source§impl ValueEnum for PriorityArg
impl ValueEnum for PriorityArg
Auto Trait Implementations§
impl Freeze for PriorityArg
impl RefUnwindSafe for PriorityArg
impl Send for PriorityArg
impl Sync for PriorityArg
impl Unpin for PriorityArg
impl UnsafeUnpin for PriorityArg
impl UnwindSafe for PriorityArg
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§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.