pub struct JmapPushVerification {
pub type: String,
pub push_subscription_id: String,
pub verification_code: String,
}Expand description
The PushVerification object the server POSTs to the subscription URL
right after create (RFC 8620 §7.2.2); the client MUST copy
verification_code into a set::JmapPushSubscriptionUpdate before the
server makes any further pushes.
Fields§
§type: StringThe type tag: always the string PushVerification.
push_subscription_id: StringThe ID of the push subscription that was created.
verification_code: StringThe code to copy back into the subscription.
Trait Implementations§
Source§impl Clone for JmapPushVerification
impl Clone for JmapPushVerification
Source§fn clone(&self) -> JmapPushVerification
fn clone(&self) -> JmapPushVerification
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for JmapPushVerification
impl Debug for JmapPushVerification
Source§impl<'de> Deserialize<'de> for JmapPushVerification
impl<'de> Deserialize<'de> for JmapPushVerification
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 JmapPushVerification
Source§impl PartialEq for JmapPushVerification
impl PartialEq for JmapPushVerification
Source§impl Serialize for JmapPushVerification
impl Serialize for JmapPushVerification
impl StructuralPartialEq for JmapPushVerification
Auto Trait Implementations§
impl Freeze for JmapPushVerification
impl RefUnwindSafe for JmapPushVerification
impl Send for JmapPushVerification
impl Sync for JmapPushVerification
impl Unpin for JmapPushVerification
impl UnsafeUnpin for JmapPushVerification
impl UnwindSafe for JmapPushVerification
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