pub struct ChannelSyncPayload {
pub channel_id: Option<u64>,
pub channel_type: Option<i64>,
pub type_field: Option<i64>,
pub channel_name: Option<String>,
pub name: Option<String>,
pub avatar: Option<String>,
pub unread_count: Option<i32>,
pub last_msg_content: Option<String>,
pub last_msg_timestamp: Option<i64>,
pub top: Option<i32>,
pub mute: Option<i32>,
}Fields§
§channel_id: Option<u64>§channel_type: Option<i64>§type_field: Option<i64>§channel_name: Option<String>§name: Option<String>§avatar: Option<String>§unread_count: Option<i32>§last_msg_content: Option<String>§last_msg_timestamp: Option<i64>§top: Option<i32>§mute: Option<i32>Trait Implementations§
Source§impl Clone for ChannelSyncPayload
impl Clone for ChannelSyncPayload
Source§fn clone(&self) -> ChannelSyncPayload
fn clone(&self) -> ChannelSyncPayload
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChannelSyncPayload
impl Debug for ChannelSyncPayload
Source§impl Default for ChannelSyncPayload
impl Default for ChannelSyncPayload
Source§fn default() -> ChannelSyncPayload
fn default() -> ChannelSyncPayload
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChannelSyncPayload
impl<'de> Deserialize<'de> for ChannelSyncPayload
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 ChannelSyncPayload
impl RefUnwindSafe for ChannelSyncPayload
impl Send for ChannelSyncPayload
impl Sync for ChannelSyncPayload
impl Unpin for ChannelSyncPayload
impl UnsafeUnpin for ChannelSyncPayload
impl UnwindSafe for ChannelSyncPayload
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