pub struct AiConversationPartMetadata {
pub turn_id: Option<String>,
pub eval_log_id: Option<String>,
pub started_at: Option<String>,
pub ended_at: Option<String>,
pub phase: Option<AiConversationPartPhase>,
pub feedback: Option<Value>,
}Expand description
Metadata about a part in an AI conversation.
Fields§
§turn_id: Option<String>The turn ID of the part.
eval_log_id: Option<String>The eval log ID of the part.
started_at: Option<String>The time when the part started, as an ISO 8601 string.
ended_at: Option<String>The time when the part ended, as an ISO 8601 string.
phase: Option<AiConversationPartPhase>The phase during which the part was generated.
feedback: Option<Value>AI feedback state for this part.
Trait Implementations§
Source§impl Clone for AiConversationPartMetadata
impl Clone for AiConversationPartMetadata
Source§fn clone(&self) -> AiConversationPartMetadata
fn clone(&self) -> AiConversationPartMetadata
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 AiConversationPartMetadata
impl Debug for AiConversationPartMetadata
Source§impl Default for AiConversationPartMetadata
impl Default for AiConversationPartMetadata
Source§fn default() -> AiConversationPartMetadata
fn default() -> AiConversationPartMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AiConversationPartMetadatawhere
AiConversationPartMetadata: Default,
impl<'de> Deserialize<'de> for AiConversationPartMetadatawhere
AiConversationPartMetadata: Default,
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 AiConversationPartMetadata
impl RefUnwindSafe for AiConversationPartMetadata
impl Send for AiConversationPartMetadata
impl Sync for AiConversationPartMetadata
impl Unpin for AiConversationPartMetadata
impl UnsafeUnpin for AiConversationPartMetadata
impl UnwindSafe for AiConversationPartMetadata
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