pub enum RowTable {
Show 48 variants
AgentCompletionRequests,
AgentCompletionResponses,
VectorCompletionRequests,
VectorCompletionResponses,
FunctionExecutionRequests,
FunctionExecutionResponses,
MessageQueueContent,
ToolResponse,
AssistantResponseRefusal,
AssistantResponseReasoning,
AssistantResponseToolCalls,
AssistantResponseContentText,
AssistantResponseContentImage,
AssistantResponseContentAudio,
AssistantResponseContentVideo,
AssistantResponseContentFile,
ToolResponseContentText,
ToolResponseContentImage,
ToolResponseContentAudio,
ToolResponseContentVideo,
ToolResponseContentFile,
RequestMessageUserContentText,
RequestMessageUserContentImage,
RequestMessageUserContentAudio,
RequestMessageUserContentVideo,
RequestMessageUserContentFile,
RequestMessageAssistantRefusal,
RequestMessageAssistantReasoning,
RequestMessageAssistantToolCalls,
RequestMessageAssistantContentText,
RequestMessageAssistantContentImage,
RequestMessageAssistantContentAudio,
RequestMessageAssistantContentVideo,
RequestMessageAssistantContentFile,
RequestMessageTool,
RequestMessageToolContentText,
RequestMessageToolContentImage,
RequestMessageToolContentAudio,
RequestMessageToolContentVideo,
RequestMessageToolContentFile,
RequestVectorChoice,
RequestVectorChoiceContentText,
RequestVectorChoiceContentImage,
RequestVectorChoiceContentAudio,
RequestVectorChoiceContentVideo,
RequestVectorChoiceContentFile,
ResponseVectorVote,
Error,
}Expand description
Every table in the logs.* schema, plus the synthetic
MessageQueueContent variant for queue-consumption rows.
The latter writes to objectiveai.messages with a "table" value
chosen at write time via SQL CASE (one of message_queue_text,
_image, _audio, _video, _file) — the Rust-side variant
is kind-less because the dispatch happens in SQL.
Variants§
AgentCompletionRequests
AgentCompletionResponses
VectorCompletionRequests
VectorCompletionResponses
FunctionExecutionRequests
FunctionExecutionResponses
MessageQueueContent
Synthetic — kind-less at the Rust level. The writer’s
helper picks the per-kind objectiveai.message_table enum value
via SQL CASE against message_queue_contents.kind and
flips the parent message_queue.active = FALSE in the
same statement.
ToolResponse
AssistantResponseRefusal
AssistantResponseReasoning
AssistantResponseToolCalls
AssistantResponseContentText
AssistantResponseContentImage
AssistantResponseContentAudio
AssistantResponseContentVideo
AssistantResponseContentFile
ToolResponseContentText
ToolResponseContentImage
ToolResponseContentAudio
ToolResponseContentVideo
ToolResponseContentFile
RequestMessageUserContentText
RequestMessageUserContentImage
RequestMessageUserContentAudio
RequestMessageUserContentVideo
RequestMessageUserContentFile
RequestMessageAssistantRefusal
RequestMessageAssistantReasoning
RequestMessageAssistantToolCalls
RequestMessageAssistantContentText
RequestMessageAssistantContentImage
RequestMessageAssistantContentAudio
RequestMessageAssistantContentVideo
RequestMessageAssistantContentFile
RequestMessageTool
Head row (JOIN target for tool_call_id) — no messages event,
like RowTable::ToolResponse.
RequestMessageToolContentText
RequestMessageToolContentImage
RequestMessageToolContentAudio
RequestMessageToolContentVideo
RequestMessageToolContentFile
RequestVectorChoice
Head row carrying the per-agent inline key per choice — no
messages event, JOIN target for the key.
RequestVectorChoiceContentText
RequestVectorChoiceContentImage
RequestVectorChoiceContentAudio
RequestVectorChoiceContentVideo
RequestVectorChoiceContentFile
ResponseVectorVote
Error
Logged failures (objectiveai.errors). Written by the dedicated
error helper (db::logs::insert_error), never by the
chunk-driven writer — no RowValue variant exists for it.
Implementations§
Source§impl RowTable
impl RowTable
Sourcepub fn message_table(self) -> Option<MessageTable>
pub fn message_table(self) -> Option<MessageTable>
The MessageTable for this table’s events. Returns None for
the three response-blob tables (which don’t emit messages).
pub fn fq_name(self) -> &'static str
Trait Implementations§
impl Copy for RowTable
impl Eq for RowTable
impl StructuralPartialEq for RowTable
Auto Trait Implementations§
impl Freeze for RowTable
impl RefUnwindSafe for RowTable
impl Send for RowTable
impl Sync for RowTable
impl Unpin for RowTable
impl UnsafeUnpin for RowTable
impl UnwindSafe for RowTable
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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
key and return true if they are equal.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§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more