pub struct WebsocketNotificationEncoded {
pub content: WebsocketNotification,
pub type: Type,
}Fields§
§content: WebsocketNotification§type: TypeImplementations§
Source§impl WebsocketNotificationEncoded
impl WebsocketNotificationEncoded
pub fn new( content: WebsocketNotification, type: Type, ) -> WebsocketNotificationEncoded
Trait Implementations§
Source§impl Clone for WebsocketNotificationEncoded
impl Clone for WebsocketNotificationEncoded
Source§impl Debug for WebsocketNotificationEncoded
impl Debug for WebsocketNotificationEncoded
Source§impl<'de> Deserialize<'de> for WebsocketNotificationEncoded
impl<'de> Deserialize<'de> for WebsocketNotificationEncoded
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 StructuralPartialEq for WebsocketNotificationEncoded
Auto Trait Implementations§
impl Freeze for WebsocketNotificationEncoded
impl RefUnwindSafe for WebsocketNotificationEncoded
impl Send for WebsocketNotificationEncoded
impl Sync for WebsocketNotificationEncoded
impl Unpin for WebsocketNotificationEncoded
impl UnsafeUnpin for WebsocketNotificationEncoded
impl UnwindSafe for WebsocketNotificationEncoded
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