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