pub enum RowBody {
Show 41 variants
MessageQueueContent {},
ToolResponse {
tool_call_id: String,
},
AssistantRefusal {
text: String,
},
AssistantReasoning {
text: String,
},
AssistantToolCall {
tool_call_id: String,
arguments: String,
},
AssistantContentText {
text: String,
},
AssistantContentImage {
image_url: ImageUrl,
},
AssistantContentAudio {
input_audio: InputAudio,
},
AssistantContentVideo {
video_url: VideoUrl,
},
AssistantContentFile {
file: File,
},
ToolContentText {
text: String,
},
ToolContentImage {
image_url: ImageUrl,
},
ToolContentAudio {
input_audio: InputAudio,
},
ToolContentVideo {
video_url: VideoUrl,
},
ToolContentFile {
file: File,
},
RequestUserContentText {
text: String,
},
RequestUserContentImage {
image_url: ImageUrl,
},
RequestUserContentAudio {
input_audio: InputAudio,
},
RequestUserContentVideo {
video_url: VideoUrl,
},
RequestUserContentFile {
file: File,
},
RequestAssistantRefusal {
text: String,
},
RequestAssistantReasoning {
text: String,
},
RequestAssistantToolCall {
tool_call_id: String,
arguments: String,
},
RequestAssistantContentText {
text: String,
},
RequestAssistantContentImage {
image_url: ImageUrl,
},
RequestAssistantContentAudio {
input_audio: InputAudio,
},
RequestAssistantContentVideo {
video_url: VideoUrl,
},
RequestAssistantContentFile {
file: File,
},
RequestTool {
tool_call_id: String,
},
RequestToolContentText {
text: String,
},
RequestToolContentImage {
image_url: ImageUrl,
},
RequestToolContentAudio {
input_audio: InputAudio,
},
RequestToolContentVideo {
video_url: VideoUrl,
},
RequestToolContentFile {
file: File,
},
RequestVectorChoice {
key: String,
},
RequestVectorChoiceContentText {
text: String,
},
RequestVectorChoiceContentImage {
image_url: ImageUrl,
},
RequestVectorChoiceContentAudio {
input_audio: InputAudio,
},
RequestVectorChoiceContentVideo {
video_url: VideoUrl,
},
RequestVectorChoiceContentFile {
file: File,
},
ResponseVectorVote {
vote: Vec<Decimal>,
},
}Expand description
Owned body stored in the shadow map. Compared by PartialEq
against an incoming RowValue via RowValue::body_eq.
Variants§
MessageQueueContent
Empty marker — MessageQueueContent rows have no body; the
shadow uses presence-only for skip detection (body_eq
returns true for any matching key, so the second sight of
the same content_id is treated as Skip).
ToolResponse
AssistantRefusal
AssistantReasoning
AssistantToolCall
AssistantContentText
AssistantContentImage
AssistantContentAudio
Fields
§
input_audio: InputAudioAssistantContentVideo
AssistantContentFile
ToolContentText
ToolContentImage
ToolContentAudio
Fields
§
input_audio: InputAudioToolContentVideo
ToolContentFile
RequestUserContentText
RequestUserContentImage
RequestUserContentAudio
Fields
§
input_audio: InputAudioRequestUserContentVideo
RequestUserContentFile
RequestAssistantRefusal
RequestAssistantReasoning
RequestAssistantToolCall
RequestAssistantContentText
RequestAssistantContentImage
RequestAssistantContentAudio
Fields
§
input_audio: InputAudioRequestAssistantContentVideo
RequestAssistantContentFile
RequestTool
RequestToolContentText
RequestToolContentImage
RequestToolContentAudio
Fields
§
input_audio: InputAudioRequestToolContentVideo
RequestToolContentFile
RequestVectorChoice
RequestVectorChoiceContentText
RequestVectorChoiceContentImage
RequestVectorChoiceContentAudio
Fields
§
input_audio: InputAudioRequestVectorChoiceContentVideo
RequestVectorChoiceContentFile
ResponseVectorVote
Trait Implementations§
impl StructuralPartialEq for RowBody
Auto Trait Implementations§
impl Freeze for RowBody
impl RefUnwindSafe for RowBody
impl Send for RowBody
impl Sync for RowBody
impl Unpin for RowBody
impl UnsafeUnpin for RowBody
impl UnwindSafe for RowBody
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<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