pub struct AgentMessageListResponse {
pub messages: Vec<AgentMessage>,
pub total: Option<i32>,
}Fields§
§messages: Vec<AgentMessage>§total: Option<i32>Implementations§
Source§impl AgentMessageListResponse
impl AgentMessageListResponse
pub fn new(messages: Vec<AgentMessage>) -> AgentMessageListResponse
Trait Implementations§
Source§impl Clone for AgentMessageListResponse
impl Clone for AgentMessageListResponse
Source§fn clone(&self) -> AgentMessageListResponse
fn clone(&self) -> AgentMessageListResponse
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 AgentMessageListResponse
impl Debug for AgentMessageListResponse
Source§impl Default for AgentMessageListResponse
impl Default for AgentMessageListResponse
Source§fn default() -> AgentMessageListResponse
fn default() -> AgentMessageListResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AgentMessageListResponse
impl<'de> Deserialize<'de> for AgentMessageListResponse
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 PartialEq for AgentMessageListResponse
impl PartialEq for AgentMessageListResponse
Source§fn eq(&self, other: &AgentMessageListResponse) -> bool
fn eq(&self, other: &AgentMessageListResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AgentMessageListResponse
impl Serialize for AgentMessageListResponse
impl StructuralPartialEq for AgentMessageListResponse
Auto Trait Implementations§
impl Freeze for AgentMessageListResponse
impl RefUnwindSafe for AgentMessageListResponse
impl Send for AgentMessageListResponse
impl Sync for AgentMessageListResponse
impl Unpin for AgentMessageListResponse
impl UnsafeUnpin for AgentMessageListResponse
impl UnwindSafe for AgentMessageListResponse
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