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