pub struct MessageHistoryResponse {
pub messages: Vec<MessageHistoryItem>,
pub total: usize,
pub has_more: bool,
}Expand description
消息历史响应
RPC路由: message/history/get
Fields§
§messages: Vec<MessageHistoryItem>§total: usize§has_more: boolTrait Implementations§
Source§impl Clone for MessageHistoryResponse
impl Clone for MessageHistoryResponse
Source§fn clone(&self) -> MessageHistoryResponse
fn clone(&self) -> MessageHistoryResponse
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 MessageHistoryResponse
impl Debug for MessageHistoryResponse
Source§impl<'de> Deserialize<'de> for MessageHistoryResponse
impl<'de> Deserialize<'de> for MessageHistoryResponse
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 MessageHistoryResponse
impl RefUnwindSafe for MessageHistoryResponse
impl Send for MessageHistoryResponse
impl Sync for MessageHistoryResponse
impl Unpin for MessageHistoryResponse
impl UnsafeUnpin for MessageHistoryResponse
impl UnwindSafe for MessageHistoryResponse
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