pub struct AgentConversationContent {
pub kind: String,
pub tag_cn: Option<String>,
pub tag_en: Option<String>,
pub file_url: Option<String>,
pub image_url: Option<String>,
pub extra: ExtraFields,
}Fields§
§kind: String§tag_cn: Option<String>§tag_en: Option<String>§file_url: Option<String>§image_url: Option<String>§extra: ExtraFieldsTrait Implementations§
Source§impl Clone for AgentConversationContent
impl Clone for AgentConversationContent
Source§fn clone(&self) -> AgentConversationContent
fn clone(&self) -> AgentConversationContent
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 AgentConversationContent
impl Debug for AgentConversationContent
Source§impl Default for AgentConversationContent
impl Default for AgentConversationContent
Source§fn default() -> AgentConversationContent
fn default() -> AgentConversationContent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AgentConversationContent
impl<'de> Deserialize<'de> for AgentConversationContent
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 PartialEq for AgentConversationContent
impl PartialEq for AgentConversationContent
Source§impl Serialize for AgentConversationContent
impl Serialize for AgentConversationContent
impl StructuralPartialEq for AgentConversationContent
Auto Trait Implementations§
impl Freeze for AgentConversationContent
impl RefUnwindSafe for AgentConversationContent
impl Send for AgentConversationContent
impl Sync for AgentConversationContent
impl Unpin for AgentConversationContent
impl UnsafeUnpin for AgentConversationContent
impl UnwindSafe for AgentConversationContent
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