pub struct AgentActivityErrorContent {
pub type: Option<AgentActivityType>,
pub body: Option<String>,
pub body_data: Option<Value>,
}Expand description
Content for an error activity.
Fields§
§type: Option<AgentActivityType>The type of activity.
body: Option<String>The error message in Markdown format.
body_data: Option<Value>Internal The error content as ProseMirror document.
Trait Implementations§
Source§impl Clone for AgentActivityErrorContent
impl Clone for AgentActivityErrorContent
Source§fn clone(&self) -> AgentActivityErrorContent
fn clone(&self) -> AgentActivityErrorContent
Returns a duplicate of the value. Read more
1.0.0 · 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 AgentActivityErrorContent
impl Debug for AgentActivityErrorContent
Source§impl Default for AgentActivityErrorContent
impl Default for AgentActivityErrorContent
Source§fn default() -> AgentActivityErrorContent
fn default() -> AgentActivityErrorContent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AgentActivityErrorContentwhere
AgentActivityErrorContent: Default,
impl<'de> Deserialize<'de> for AgentActivityErrorContentwhere
AgentActivityErrorContent: Default,
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 AgentActivityErrorContent
impl RefUnwindSafe for AgentActivityErrorContent
impl Send for AgentActivityErrorContent
impl Sync for AgentActivityErrorContent
impl Unpin for AgentActivityErrorContent
impl UnwindSafe for AgentActivityErrorContent
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