pub struct GatewayHello {
pub op: i32,
pub d: HelloData,
}Fields§
§op: i32§d: HelloDataTrait Implementations§
Source§impl Debug for GatewayHello
impl Debug for GatewayHello
Source§impl Default for GatewayHello
impl Default for GatewayHello
Source§fn default() -> GatewayHello
fn default() -> GatewayHello
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GatewayHello
impl<'de> Deserialize<'de> for GatewayHello
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
Source§impl Serialize for GatewayHello
impl Serialize for GatewayHello
impl WebSocketEvent for GatewayHello
Auto Trait Implementations§
impl Freeze for GatewayHello
impl RefUnwindSafe for GatewayHello
impl Send for GatewayHello
impl Sync for GatewayHello
impl Unpin for GatewayHello
impl UnwindSafe for GatewayHello
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