pub struct AgentConversationContentPart {
pub type_: Option<String>,
pub tag_cn: Option<String>,
pub tag_en: Option<String>,
pub file_url: Option<String>,
pub image_url: Option<String>,
}Expand description
One slide-conversation response content part.
Fields§
§type_: Option<String>Provider content type (file_url or image_url).
tag_cn: Option<String>Chinese description.
tag_en: Option<String>English description.
file_url: Option<String>Downloadable file URL.
image_url: Option<String>Downloadable image URL.
Trait Implementations§
Source§impl Clone for AgentConversationContentPart
impl Clone for AgentConversationContentPart
Source§fn clone(&self) -> AgentConversationContentPart
fn clone(&self) -> AgentConversationContentPart
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 AgentConversationContentPart
impl Debug for AgentConversationContentPart
Source§impl<'de> Deserialize<'de> for AgentConversationContentPart
impl<'de> Deserialize<'de> for AgentConversationContentPart
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
Auto Trait Implementations§
impl Freeze for AgentConversationContentPart
impl RefUnwindSafe for AgentConversationContentPart
impl Send for AgentConversationContentPart
impl Sync for AgentConversationContentPart
impl Unpin for AgentConversationContentPart
impl UnsafeUnpin for AgentConversationContentPart
impl UnwindSafe for AgentConversationContentPart
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