pub struct InvestigationTurn {
pub question: String,
pub answer: String,
pub at: SystemTime,
}Expand description
A single question/answer exchange within an investigation.
Fields§
§question: StringThe question the caller asked.
answer: StringThe agent’s answer.
at: SystemTimeWhen the turn completed.
Trait Implementations§
Source§impl Clone for InvestigationTurn
impl Clone for InvestigationTurn
Source§fn clone(&self) -> InvestigationTurn
fn clone(&self) -> InvestigationTurn
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 InvestigationTurn
impl Debug for InvestigationTurn
Source§impl<'de> Deserialize<'de> for InvestigationTurn
impl<'de> Deserialize<'de> for InvestigationTurn
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 InvestigationTurn
impl RefUnwindSafe for InvestigationTurn
impl Send for InvestigationTurn
impl Sync for InvestigationTurn
impl Unpin for InvestigationTurn
impl UnsafeUnpin for InvestigationTurn
impl UnwindSafe for InvestigationTurn
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