DevicePushSubscription

public struct DevicePushSubscription : Equatable, Hashable
extension DevicePushSubscription: Sendable

Details of a web-push subscription endpoint.

This struct encapsulates the details of a web-push subscription endpoint, including all the information necessary to send a notification to its owner. Devices attached to the user’s account may register one of these in order to receive timely updates about account-related events.

Managing a web-push subscription is outside of the scope of this component.