pub enum OfficialAgentOutputPart {
Text {
text: String,
},
FileUrl {
file_url: String,
},
ImageUrl {
image_url: String,
},
AudioUrl {
audio_url: String,
},
VideoUrl {
video_url: String,
},
}Variants§
Trait Implementations§
Source§impl Clone for OfficialAgentOutputPart
impl Clone for OfficialAgentOutputPart
Source§fn clone(&self) -> OfficialAgentOutputPart
fn clone(&self) -> OfficialAgentOutputPart
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 OfficialAgentOutputPart
impl Debug for OfficialAgentOutputPart
Source§impl<'de> Deserialize<'de> for OfficialAgentOutputPart
impl<'de> Deserialize<'de> for OfficialAgentOutputPart
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
impl Eq for OfficialAgentOutputPart
Source§impl PartialEq for OfficialAgentOutputPart
impl PartialEq for OfficialAgentOutputPart
Source§impl Serialize for OfficialAgentOutputPart
impl Serialize for OfficialAgentOutputPart
impl StructuralPartialEq for OfficialAgentOutputPart
Auto Trait Implementations§
impl Freeze for OfficialAgentOutputPart
impl RefUnwindSafe for OfficialAgentOutputPart
impl Send for OfficialAgentOutputPart
impl Sync for OfficialAgentOutputPart
impl Unpin for OfficialAgentOutputPart
impl UnsafeUnpin for OfficialAgentOutputPart
impl UnwindSafe for OfficialAgentOutputPart
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