pub enum OwnedRowKey {
Show 15 variants
MessageQueueContent {
response_id: String,
message_queue_content_id: i64,
},
ToolResponse {
response_id: String,
index: u64,
},
AssistantRefusal {
response_id: String,
index: u64,
},
AssistantReasoning {
response_id: String,
index: u64,
},
AssistantToolCall {
response_id: String,
index: u64,
tool_call_index: u64,
},
AssistantContentText {
response_id: String,
index: u64,
part_index: u64,
},
AssistantContentImage {
response_id: String,
index: u64,
part_index: u64,
},
AssistantContentAudio {
response_id: String,
index: u64,
part_index: u64,
},
AssistantContentVideo {
response_id: String,
index: u64,
part_index: u64,
},
AssistantContentFile {
response_id: String,
index: u64,
part_index: u64,
},
ToolContentText {
response_id: String,
index: u64,
part_index: u64,
},
ToolContentImage {
response_id: String,
index: u64,
part_index: u64,
},
ToolContentAudio {
response_id: String,
index: u64,
part_index: u64,
},
ToolContentVideo {
response_id: String,
index: u64,
part_index: u64,
},
ToolContentFile {
response_id: String,
index: u64,
part_index: u64,
},
}Expand description
Owned counterpart to RowKey. Stored in the shadow map. Built
only on Insert.
Variants§
MessageQueueContent
ToolResponse
AssistantRefusal
AssistantReasoning
AssistantToolCall
AssistantContentText
AssistantContentImage
AssistantContentAudio
AssistantContentVideo
AssistantContentFile
ToolContentText
ToolContentImage
ToolContentAudio
ToolContentVideo
ToolContentFile
Trait Implementations§
Source§impl Clone for OwnedRowKey
impl Clone for OwnedRowKey
Source§fn clone(&self) -> OwnedRowKey
fn clone(&self) -> OwnedRowKey
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 OwnedRowKey
impl Debug for OwnedRowKey
impl Eq for OwnedRowKey
Source§impl Hash for OwnedRowKey
impl Hash for OwnedRowKey
Source§impl PartialEq for OwnedRowKey
impl PartialEq for OwnedRowKey
Source§fn eq(&self, other: &OwnedRowKey) -> bool
fn eq(&self, other: &OwnedRowKey) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OwnedRowKey
Auto Trait Implementations§
impl Freeze for OwnedRowKey
impl RefUnwindSafe for OwnedRowKey
impl Send for OwnedRowKey
impl Sync for OwnedRowKey
impl Unpin for OwnedRowKey
impl UnsafeUnpin for OwnedRowKey
impl UnwindSafe for OwnedRowKey
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