pub struct AgentAsyncContentPart {
pub type_: Option<String>,
pub file_url: Option<String>,
pub tag_cn: Option<String>,
pub tag_en: Option<String>,
}Expand description
One content part returned by the async-result endpoint.
Fields§
§type_: Option<String>Provider content type; currently documented as file_url.
file_url: Option<String>Download URL.
tag_cn: Option<String>Chinese description.
tag_en: Option<String>English description.
Trait Implementations§
Source§impl Clone for AgentAsyncContentPart
impl Clone for AgentAsyncContentPart
Source§fn clone(&self) -> AgentAsyncContentPart
fn clone(&self) -> AgentAsyncContentPart
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 AgentAsyncContentPart
impl Debug for AgentAsyncContentPart
Source§impl<'de> Deserialize<'de> for AgentAsyncContentPart
impl<'de> Deserialize<'de> for AgentAsyncContentPart
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 AgentAsyncContentPart
impl RefUnwindSafe for AgentAsyncContentPart
impl Send for AgentAsyncContentPart
impl Sync for AgentAsyncContentPart
impl Unpin for AgentAsyncContentPart
impl UnsafeUnpin for AgentAsyncContentPart
impl UnwindSafe for AgentAsyncContentPart
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