#[non_exhaustive]pub enum AgentContent {
InputText(ResponseInputText),
OutputText(ReplayOutputText),
Text(AgentText),
Summary(SummaryText),
Reasoning(ReasoningContent),
Refusal(ResponseOutputRefusal),
Image(ResponseInputImage),
Screenshot(ComputerScreenshot),
File(ResponseInputFile),
Encrypted(EncryptedContent),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
InputText(ResponseInputText)
OutputText(ReplayOutputText)
Text(AgentText)
Summary(SummaryText)
Reasoning(ReasoningContent)
Refusal(ResponseOutputRefusal)
Image(ResponseInputImage)
Screenshot(ComputerScreenshot)
File(ResponseInputFile)
Encrypted(EncryptedContent)
Trait Implementations§
Source§impl Clone for AgentContent
impl Clone for AgentContent
Source§impl Debug for AgentContent
impl Debug for AgentContent
Source§impl DeclaredFields for AgentContent
impl DeclaredFields for AgentContent
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for AgentContent
impl<'de> Deserialize<'de> for AgentContent
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 AgentContent
Source§impl PartialEq for AgentContent
impl PartialEq for AgentContent
Source§impl Serialize for AgentContent
impl Serialize for AgentContent
impl StructuralPartialEq for AgentContent
Auto Trait Implementations§
impl Freeze for AgentContent
impl RefUnwindSafe for AgentContent
impl Send for AgentContent
impl Sync for AgentContent
impl Unpin for AgentContent
impl UnsafeUnpin for AgentContent
impl UnwindSafe for AgentContent
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