pub struct MessagesResponse {
pub messages: Vec<Message>,
pub total: i32,
}Expand description
消息列表响应
Fields§
§messages: Vec<Message>§total: i32Trait 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 UnsafeUnpin 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