pub struct ChatCompletionStoreContentPart(/* private fields */);Expand description
表示已存储 chat completion 的 content part。
Implementations§
Trait Implementations§
Source§impl Clone for ChatCompletionStoreContentPart
impl Clone for ChatCompletionStoreContentPart
Source§fn clone(&self) -> ChatCompletionStoreContentPart
fn clone(&self) -> ChatCompletionStoreContentPart
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for ChatCompletionStoreContentPart
impl<'de> Deserialize<'de> for ChatCompletionStoreContentPart
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<ChatCompletionStoreContentPart> for Value
impl From<ChatCompletionStoreContentPart> for Value
Source§fn from(value: ChatCompletionStoreContentPart) -> Self
fn from(value: ChatCompletionStoreContentPart) -> Self
Converts to this type from the input type.
Source§impl From<Value> for ChatCompletionStoreContentPart
impl From<Value> for ChatCompletionStoreContentPart
Auto Trait Implementations§
impl Freeze for ChatCompletionStoreContentPart
impl RefUnwindSafe for ChatCompletionStoreContentPart
impl Send for ChatCompletionStoreContentPart
impl Sync for ChatCompletionStoreContentPart
impl Unpin for ChatCompletionStoreContentPart
impl UnsafeUnpin for ChatCompletionStoreContentPart
impl UnwindSafe for ChatCompletionStoreContentPart
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