[][src]Trait spectacles_model::gateway::SendablePacket

pub trait SendablePacket {
    fn to_json(self) -> Result<String, JsonError>;
}

Denotes structs that can be sent to the gateway.

Required methods

Loading content...

Implementors

impl SendablePacket for HeartbeatPacket[src]

impl SendablePacket for IdentifyPacket[src]

impl SendablePacket for RequestGuildMembers[src]

impl SendablePacket for ResumeSessionPacket[src]

impl SendablePacket for UpdateStatus[src]

impl SendablePacket for UpdateVoiceState[src]

impl SendablePacket for ClientPresence[src]

Loading content...