#[non_exhaustive]pub struct WebSocketPushDisable {
pub extra: Map<String, Value>,
}Expand description
Turns off push notifications for the connection (RFC 8887 §4.3.5.3).
Its only RFC property is @type.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.extra: Map<String, Value>Vendor, site and future-spec members.
Implementations§
Trait Implementations§
Source§impl Clone for WebSocketPushDisable
impl Clone for WebSocketPushDisable
Source§impl Debug for WebSocketPushDisable
impl Debug for WebSocketPushDisable
Source§impl Default for WebSocketPushDisable
impl Default for WebSocketPushDisable
Source§impl<'de> Deserialize<'de> for WebSocketPushDisable
impl<'de> Deserialize<'de> for WebSocketPushDisable
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for WebSocketPushDisable
Source§impl PartialEq for WebSocketPushDisable
impl PartialEq for WebSocketPushDisable
Source§impl Serialize for WebSocketPushDisable
impl Serialize for WebSocketPushDisable
impl StructuralPartialEq for WebSocketPushDisable
Auto Trait Implementations§
impl Forget for WebSocketPushDisable
impl Freeze for WebSocketPushDisable
impl Move for WebSocketPushDisable
impl RefUnwindSafe for WebSocketPushDisable
impl Send for WebSocketPushDisable
impl Sync for WebSocketPushDisable
impl Unpin for WebSocketPushDisable
impl UnsafeUnpin for WebSocketPushDisable
impl UnwindSafe for WebSocketPushDisable
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