pub struct MessageListResponse {
pub messages: Vec<MessageResponse>,
pub next_cursor: Option<String>,
}Expand description
MessageListResponse
JSON schema
{
"type": "object",
"required": [
"messages"
],
"properties": {
"messages": {
"type": "array",
"items": {
"$ref": "#/$defs/MessageResponse"
}
},
"next_cursor": {
"type": "string"
}
}
}Fields§
§messages: Vec<MessageResponse>§next_cursor: Option<String>Trait Implementations§
Source§impl Clone for MessageListResponse
impl Clone for MessageListResponse
Source§fn clone(&self) -> MessageListResponse
fn clone(&self) -> MessageListResponse
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 MessageListResponse
impl Debug for MessageListResponse
Source§impl<'de> Deserialize<'de> for MessageListResponse
impl<'de> Deserialize<'de> for MessageListResponse
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
Source§impl From<&MessageListResponse> for MessageListResponse
impl From<&MessageListResponse> for MessageListResponse
Source§fn from(value: &MessageListResponse) -> Self
fn from(value: &MessageListResponse) -> Self
Converts to this type from the input type.
Source§impl From<MessageListResponse> for ModelRelayApi
impl From<MessageListResponse> for ModelRelayApi
Source§fn from(value: MessageListResponse) -> Self
fn from(value: MessageListResponse) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MessageListResponse
impl PartialEq for MessageListResponse
Source§impl Serialize for MessageListResponse
impl Serialize for MessageListResponse
impl StructuralPartialEq for MessageListResponse
Auto Trait Implementations§
impl Freeze for MessageListResponse
impl RefUnwindSafe for MessageListResponse
impl Send for MessageListResponse
impl Sync for MessageListResponse
impl Unpin for MessageListResponse
impl UnwindSafe for MessageListResponse
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