pub struct ConversationListResponse {
pub object: String,
pub data: Vec<Conversation>,
pub first_id: Option<String>,
pub last_id: Option<String>,
pub has_more: bool,
}Expand description
Response structure for listing conversations.
Contains a list of conversation objects with pagination information.
Fields§
§object: StringObject type, always “list”
data: Vec<Conversation>Array of conversation objects
first_id: Option<String>The ID of the first object in the list
last_id: Option<String>The ID of the last object in the list
has_more: boolWhether there are more objects available
Trait Implementations§
Source§impl Clone for ConversationListResponse
impl Clone for ConversationListResponse
Source§fn clone(&self) -> ConversationListResponse
fn clone(&self) -> ConversationListResponse
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 ConversationListResponse
impl Debug for ConversationListResponse
Source§impl<'de> Deserialize<'de> for ConversationListResponse
impl<'de> Deserialize<'de> for ConversationListResponse
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 ConversationListResponse
impl RefUnwindSafe for ConversationListResponse
impl Send for ConversationListResponse
impl Sync for ConversationListResponse
impl Unpin for ConversationListResponse
impl UnsafeUnpin for ConversationListResponse
impl UnwindSafe for ConversationListResponse
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