pub struct ConversationContentPart(/* private fields */);Expand description
表示 conversation item 的内容片段。
Implementations§
Trait Implementations§
Source§impl Clone for ConversationContentPart
impl Clone for ConversationContentPart
Source§fn clone(&self) -> ConversationContentPart
fn clone(&self) -> ConversationContentPart
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 Debug for ConversationContentPart
impl Debug for ConversationContentPart
Source§impl Default for ConversationContentPart
impl Default for ConversationContentPart
Source§impl<'de> Deserialize<'de> for ConversationContentPart
impl<'de> Deserialize<'de> for ConversationContentPart
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<ConversationContentPart> for Value
impl From<ConversationContentPart> for Value
Source§fn from(value: ConversationContentPart) -> Self
fn from(value: ConversationContentPart) -> Self
Converts to this type from the input type.
Source§impl From<Value> for ConversationContentPart
impl From<Value> for ConversationContentPart
Auto Trait Implementations§
impl Freeze for ConversationContentPart
impl RefUnwindSafe for ConversationContentPart
impl Send for ConversationContentPart
impl Sync for ConversationContentPart
impl Unpin for ConversationContentPart
impl UnsafeUnpin for ConversationContentPart
impl UnwindSafe for ConversationContentPart
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