pub struct WireMessage {Show 14 fields
pub seq: Option<i64>,
pub message_id: Option<i64>,
pub from_user_id: String,
pub to_user_id: String,
pub client_id: String,
pub create_time_ms: i64,
pub update_time_ms: Option<i64>,
pub delete_time_ms: Option<i64>,
pub session_id: Option<String>,
pub group_id: Option<String>,
pub message_type: MessageType,
pub message_state: MessageState,
pub context_token: String,
pub item_list: Vec<WireMessageItem>,
}Expand description
Raw wire message from the iLink API.
Fields§
§seq: Option<i64>§message_id: Option<i64>§from_user_id: String§to_user_id: String§client_id: String§create_time_ms: i64§update_time_ms: Option<i64>§delete_time_ms: Option<i64>§session_id: Option<String>§group_id: Option<String>§message_type: MessageType§message_state: MessageState§context_token: String§item_list: Vec<WireMessageItem>Trait Implementations§
Source§impl Clone for WireMessage
impl Clone for WireMessage
Source§fn clone(&self) -> WireMessage
fn clone(&self) -> WireMessage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WireMessage
impl Debug for WireMessage
Source§impl<'de> Deserialize<'de> for WireMessage
impl<'de> Deserialize<'de> for WireMessage
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 WireMessage
impl RefUnwindSafe for WireMessage
impl Send for WireMessage
impl Sync for WireMessage
impl Unpin for WireMessage
impl UnsafeUnpin for WireMessage
impl UnwindSafe for WireMessage
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