pub struct MessagesResponse {
pub limit: u32,
pub has_more: bool,
pub data: Vec<MessageData>,
}
Expand description
获取会话历史消息的响应
Fields§
§limit: u32
返回条数,若传入超过系统限制,返回系统限制数量
has_more: bool
是否存在下一页
data: Vec<MessageData>
消息列表
Trait Implementations§
Source§impl Clone for MessagesResponse
impl Clone for MessagesResponse
Source§fn clone(&self) -> MessagesResponse
fn clone(&self) -> MessagesResponse
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 MessagesResponse
impl Debug for MessagesResponse
Source§impl<'de> Deserialize<'de> for MessagesResponse
impl<'de> Deserialize<'de> for MessagesResponse
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 MessagesResponse
impl RefUnwindSafe for MessagesResponse
impl Send for MessagesResponse
impl Sync for MessagesResponse
impl Unpin for MessagesResponse
impl UnwindSafe for MessagesResponse
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