pub struct AgentHistoryLine {
pub speaker: AgentHistorySpeaker,
pub text: String,
}Expand description
One display-only line from the prior agent session. It is never replayed to ACP.
Fields§
§speaker: AgentHistorySpeaker§text: StringTrait Implementations§
Source§impl Clone for AgentHistoryLine
impl Clone for AgentHistoryLine
Source§fn clone(&self) -> AgentHistoryLine
fn clone(&self) -> AgentHistoryLine
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 AgentHistoryLine
impl Debug for AgentHistoryLine
Source§impl<'de> Deserialize<'de> for AgentHistoryLine
impl<'de> Deserialize<'de> for AgentHistoryLine
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 Eq for AgentHistoryLine
Source§impl PartialEq for AgentHistoryLine
impl PartialEq for AgentHistoryLine
Source§impl Serialize for AgentHistoryLine
impl Serialize for AgentHistoryLine
impl StructuralPartialEq for AgentHistoryLine
Auto Trait Implementations§
impl Freeze for AgentHistoryLine
impl RefUnwindSafe for AgentHistoryLine
impl Send for AgentHistoryLine
impl Sync for AgentHistoryLine
impl Unpin for AgentHistoryLine
impl UnsafeUnpin for AgentHistoryLine
impl UnwindSafe for AgentHistoryLine
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.