pub enum RowTable {
Show 21 variants
AgentCompletionRequests,
AgentCompletionResponses,
VectorCompletionRequests,
VectorCompletionResponses,
FunctionExecutionRequests,
FunctionExecutionResponses,
MessageQueueContent,
ToolResponse,
AssistantResponseRefusal,
AssistantResponseReasoning,
AssistantResponseToolCalls,
AssistantResponseContentText,
AssistantResponseContentImage,
AssistantResponseContentAudio,
AssistantResponseContentVideo,
AssistantResponseContentFile,
ToolResponseContentText,
ToolResponseContentImage,
ToolResponseContentAudio,
ToolResponseContentVideo,
ToolResponseContentFile,
}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
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
Mutably borrows from an owned value. Read more
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
Compare self to
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>
Converts
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>
Converts
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