pub struct ResponsesItemMetadata {
pub fields: Map<String, Value>,
pub content_kind: ResponsesContentKind,
}Expand description
Native item fields stay with their message when the conversation is edited.
Fields§
§fields: Map<String, Value>These fields retain item data outside the decoded role, content, and tool call.
content_kind: ResponsesContentKindThis value records the original content or tool output representation.
Trait Implementations§
Source§impl Clone for ResponsesItemMetadata
impl Clone for ResponsesItemMetadata
Source§fn clone(&self) -> ResponsesItemMetadata
fn clone(&self) -> ResponsesItemMetadata
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 ResponsesItemMetadata
impl Debug for ResponsesItemMetadata
Source§impl Default for ResponsesItemMetadata
impl Default for ResponsesItemMetadata
Source§fn default() -> ResponsesItemMetadata
fn default() -> ResponsesItemMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ResponsesItemMetadatawhere
ResponsesItemMetadata: Default,
impl<'de> Deserialize<'de> for ResponsesItemMetadatawhere
ResponsesItemMetadata: 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
Source§impl PartialEq for ResponsesItemMetadata
impl PartialEq for ResponsesItemMetadata
Source§impl Serialize for ResponsesItemMetadata
impl Serialize for ResponsesItemMetadata
impl StructuralPartialEq for ResponsesItemMetadata
Auto Trait Implementations§
impl Freeze for ResponsesItemMetadata
impl RefUnwindSafe for ResponsesItemMetadata
impl Send for ResponsesItemMetadata
impl Sync for ResponsesItemMetadata
impl Unpin for ResponsesItemMetadata
impl UnsafeUnpin for ResponsesItemMetadata
impl UnwindSafe for ResponsesItemMetadata
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