rust_macios/user_notifications/
un_push_notification_trigger.rs

1use rust_macios_objective_c_runtime_proc_macros::interface_impl;
2
3use crate::object;
4
5use super::IUNNotificationTrigger;
6
7object! {
8    /// A trigger condition that indicates Apple Push Notification Service (APNs) has sent the notification.
9    unsafe pub struct UNPushNotificationTrigger;
10}
11
12impl IUNNotificationTrigger for UNPushNotificationTrigger {}
13
14#[interface_impl(UNNotificationTrigger)]
15impl UNPushNotificationTrigger {}