pub struct AgentMessageItem {
pub id: String,
pub text: String,
pub phase: Option<AgentMessagePhase>,
}Fields§
§id: String§text: String§phase: Option<AgentMessagePhase>Implementations§
Source§impl AgentMessageItem
impl AgentMessageItem
pub fn is_final_answer(&self) -> bool
Trait Implementations§
Source§impl Clone for AgentMessageItem
impl Clone for AgentMessageItem
Source§fn clone(&self) -> AgentMessageItem
fn clone(&self) -> AgentMessageItem
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 AgentMessageItem
impl Debug for AgentMessageItem
Source§impl PartialEq for AgentMessageItem
impl PartialEq for AgentMessageItem
impl Eq for AgentMessageItem
impl StructuralPartialEq for AgentMessageItem
Auto Trait Implementations§
impl Freeze for AgentMessageItem
impl RefUnwindSafe for AgentMessageItem
impl Send for AgentMessageItem
impl Sync for AgentMessageItem
impl Unpin for AgentMessageItem
impl UnsafeUnpin for AgentMessageItem
impl UnwindSafe for AgentMessageItem
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