pub struct Metadata(/* private fields */);Available on crate features
audio-types or batch-types or file-types or upload-types or image-types or video-types or vectorstore-types or container-types or response-types or chat-completion-types or realtime-types only.Expand description
Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard. Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.
Trait Implementations§
Source§impl Clone for Metadata
Available on crate features response-types or audio-types or video-types or image-types or batch-types or file-types or upload-types or vectorstore-types or container-types or chat-completion-types or realtime-types only.
impl Clone for Metadata
Available on crate features
response-types or audio-types or video-types or image-types or batch-types or file-types or upload-types or vectorstore-types or container-types or chat-completion-types or realtime-types only.Source§impl Debug for Metadata
Available on crate features response-types or audio-types or video-types or image-types or batch-types or file-types or upload-types or vectorstore-types or container-types or chat-completion-types or realtime-types only.
impl Debug for Metadata
Available on crate features
response-types or audio-types or video-types or image-types or batch-types or file-types or upload-types or vectorstore-types or container-types or chat-completion-types or realtime-types only.Source§impl Default for Metadata
Available on crate features response-types or audio-types or video-types or image-types or batch-types or file-types or upload-types or vectorstore-types or container-types or chat-completion-types or realtime-types only.
impl Default for Metadata
Available on crate features
response-types or audio-types or video-types or image-types or batch-types or file-types or upload-types or vectorstore-types or container-types or chat-completion-types or realtime-types only.Source§impl<'de> Deserialize<'de> for Metadata
Available on crate features response-types or audio-types or video-types or image-types or batch-types or file-types or upload-types or vectorstore-types or container-types or chat-completion-types or realtime-types only.
impl<'de> Deserialize<'de> for Metadata
Available on crate features
response-types or audio-types or video-types or image-types or batch-types or file-types or upload-types or vectorstore-types or container-types or chat-completion-types or realtime-types only.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 From<Value> for Metadata
Available on crate features response-types or audio-types or video-types or image-types or batch-types or file-types or upload-types or vectorstore-types or container-types or chat-completion-types or realtime-types only.
impl From<Value> for Metadata
Available on crate features
response-types or audio-types or video-types or image-types or batch-types or file-types or upload-types or vectorstore-types or container-types or chat-completion-types or realtime-types only.Source§impl PartialEq for Metadata
Available on crate features response-types or audio-types or video-types or image-types or batch-types or file-types or upload-types or vectorstore-types or container-types or chat-completion-types or realtime-types only.
impl PartialEq for Metadata
Available on crate features
response-types or audio-types or video-types or image-types or batch-types or file-types or upload-types or vectorstore-types or container-types or chat-completion-types or realtime-types only.Source§impl Serialize for Metadata
Available on crate features response-types or audio-types or video-types or image-types or batch-types or file-types or upload-types or vectorstore-types or container-types or chat-completion-types or realtime-types only.
impl Serialize for Metadata
Available on crate features
response-types or audio-types or video-types or image-types or batch-types or file-types or upload-types or vectorstore-types or container-types or chat-completion-types or realtime-types only.impl StructuralPartialEq for Metadata
Available on crate features
response-types or audio-types or video-types or image-types or batch-types or file-types or upload-types or vectorstore-types or container-types or chat-completion-types or realtime-types only.Auto Trait Implementations§
impl Freeze for Metadata
impl RefUnwindSafe for Metadata
impl Send for Metadata
impl Sync for Metadata
impl Unpin for Metadata
impl UnwindSafe for Metadata
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