#[non_exhaustive]pub struct PushVerification {
pub push_subscription_id: Id,
pub verification_code: String,
pub extra: Map<String, Value>,
}Expand description
The object pushed to a new subscription’s URL (RFC 8620 §7.2.2).
The wire form always carries "@type": "PushVerification" (RFC 8620
§7.2.2): serialize always emits it; deserialize rejects any other value,
accepts its absence and never leaves it in extra. The Debug impl
redacts verificationCode.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.push_subscription_id: IdThe pushSubscriptionId property: the id of the new subscription.
RFC 8620 §7.2.2 types this property as String; RFC 8620 erratum
9268 (https://www.rfc-editor.org/errata/eid9268, reported, not yet
verified) corrects it to Id, matching the PushSubscription id it
names. It is an Id, so deserializing a value outside the RFC 8620
§1.2 Id syntax fails.
verification_code: StringThe verificationCode property: the code the client must set on the
subscription before the server sends it anything else.
extra: Map<String, Value>Catch-all for vendor / site / private extension fields, per
workspace extras-preservation policy (see workspace AGENTS.md).
Never contains @type.