Trait IUNNotification

Source
pub trait IUNNotification: PNSObject {
    // Provided methods
    fn p_request(&self) -> UNNotificationRequest { ... }
    fn p_date(&self) -> NSDate { ... }
}
Expand description

A trait containing all the methods for UNNotification

Provided Methods§

Source

fn p_request(&self) -> UNNotificationRequest

The notification request containing the payload and trigger condition for the notification.

Source

fn p_date(&self) -> NSDate

The delivery date of the notification.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§