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