pub trait Message {
// Required method
fn to_prompt_content(&self) -> String;
}Required Methods§
fn to_prompt_content(&self) -> String
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl Message for FuneraMessage
impl Message for TextMessage
impl Message for ToolRequestMessage
Available on crate feature
tool only.impl Message for ToolResponseMessage
Available on crate feature
tool only.