Struct ResponsesItemMetadata
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§
§impl Clone for ResponsesItemMetadata
impl Clone for ResponsesItemMetadata
§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 more§impl Debug for ResponsesItemMetadata
impl Debug for ResponsesItemMetadata
§impl Default for ResponsesItemMetadata
impl Default for ResponsesItemMetadata
§fn default() -> ResponsesItemMetadata
fn default() -> ResponsesItemMetadata
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for ResponsesItemMetadatawhere
ResponsesItemMetadata: Default,
impl<'de> Deserialize<'de> for ResponsesItemMetadatawhere
ResponsesItemMetadata: Default,
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ResponsesItemMetadata, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ResponsesItemMetadata, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl PartialEq for ResponsesItemMetadata
impl PartialEq for ResponsesItemMetadata
§impl Serialize for ResponsesItemMetadata
impl Serialize for ResponsesItemMetadata
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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