pub enum Category {
Show 13 variants
ImMessage,
AlarmRinging,
IncomingCall,
OngoingCall,
MissedCall,
ExtremeWeather,
CellNetworkExtremeDanger,
CellNetworkSevereDanger,
CellNetworkAmberAlert,
CellNetworkBroadcastTest,
LowBattery,
WebNotification,
Other(String),
}
Expand description
The content of a notification.
Variants§
ImMessage
Instant messaging apps message.
AlarmRinging
Ringing alarm.
IncomingCall
Incoming call.
OngoingCall
Ongoing call.
MissedCall
Missed call.
ExtremeWeather
Extreme weather warning.
CellNetworkExtremeDanger
Extreme danger broadcast.
CellNetworkSevereDanger
Severe danger broadcast.
CellNetworkAmberAlert
Amber alert broadcast.
CellNetworkBroadcastTest
Test broadcast.
LowBattery
Low battery.
WebNotification
Browser websites notifications.
Other(String)
Vendor specific.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Category
impl<'de> Deserialize<'de> for Category
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
impl Eq for Category
impl StructuralPartialEq for Category
Auto Trait Implementations§
impl Freeze for Category
impl RefUnwindSafe for Category
impl Send for Category
impl Sync for Category
impl Unpin for Category
impl UnwindSafe for Category
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<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
Source§type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
Source§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.