pub struct ChatEvent {
pub svcid: String,
pub chat_id: ChatChannelId,
pub mbr_cnt: i32,
pub user_id: ChannelId,
pub message: String,
pub msg_type_code: i32,
pub msg_status_type: String,
pub ctime: ChzzkTimestamp,
pub utime: ChzzkTimestamp,
pub msg_time: ChzzkTimestamp,
}Fields§
§svcid: String§chat_id: ChatChannelId§mbr_cnt: i32§user_id: ChannelId§message: String§msg_type_code: i32§msg_status_type: String§ctime: ChzzkTimestamp§utime: ChzzkTimestamp§msg_time: ChzzkTimestampTrait Implementations§
Source§impl<'de> Deserialize<'de> for ChatEvent
impl<'de> Deserialize<'de> for ChatEvent
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 Eq for ChatEvent
impl StructuralPartialEq for ChatEvent
Auto Trait Implementations§
impl Freeze for ChatEvent
impl RefUnwindSafe for ChatEvent
impl Send for ChatEvent
impl Sync for ChatEvent
impl Unpin for ChatEvent
impl UnsafeUnpin for ChatEvent
impl UnwindSafe for ChatEvent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.