pub enum ClientMessage {
Hello {
uaid: Option<String>,
_channel_ids: Option<Vec<Uuid>>,
broadcasts: Option<HashMap<String, String>>,
},
Register {
channel_id: String,
key: Option<String>,
},
Unregister {
channel_id: Uuid,
code: Option<u32>,
},
BroadcastSubscribe {
broadcasts: HashMap<String, String>,
},
Ack {
updates: Vec<ClientAck>,
},
Nack {
code: Option<i32>,
version: String,
},
Ping,
}
Variants§
Trait Implementations§
source§impl Debug for ClientMessage
impl Debug for ClientMessage
source§impl<'de> Deserialize<'de> for ClientMessage
impl<'de> Deserialize<'de> for ClientMessage
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
Auto Trait Implementations§
impl Freeze for ClientMessage
impl RefUnwindSafe for ClientMessage
impl Send for ClientMessage
impl Sync for ClientMessage
impl Unpin for ClientMessage
impl UnwindSafe for ClientMessage
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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