pub struct GetSessionMessagesResponse {
pub messages: Vec<Map<String, Value>>,
pub items: Vec<Map<String, Value>>,
pub total: i64,
pub active_run_id: Option<String>,
pub active_run_status: Option<String>,
pub active_run_partial_content: Option<String>,
}Expand description
GetSessionMessagesResponse model.
Fields§
§messages: Vec<Map<String, Value>>§items: Vec<Map<String, Value>>The same list as messages.
total: i64§active_run_id: Option<String>§active_run_status: Option<String>§active_run_partial_content: Option<String>Trait Implementations§
Source§impl Clone for GetSessionMessagesResponse
impl Clone for GetSessionMessagesResponse
Source§fn clone(&self) -> GetSessionMessagesResponse
fn clone(&self) -> GetSessionMessagesResponse
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 GetSessionMessagesResponse
impl Debug for GetSessionMessagesResponse
Source§impl Default for GetSessionMessagesResponse
impl Default for GetSessionMessagesResponse
Source§fn default() -> GetSessionMessagesResponse
fn default() -> GetSessionMessagesResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetSessionMessagesResponse
impl<'de> Deserialize<'de> for GetSessionMessagesResponse
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
impl StructuralPartialEq for GetSessionMessagesResponse
Auto Trait Implementations§
impl Freeze for GetSessionMessagesResponse
impl RefUnwindSafe for GetSessionMessagesResponse
impl Send for GetSessionMessagesResponse
impl Sync for GetSessionMessagesResponse
impl Unpin for GetSessionMessagesResponse
impl UnsafeUnpin for GetSessionMessagesResponse
impl UnwindSafe for GetSessionMessagesResponse
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