pub trait InputMessageEnhancements {
// Required methods
fn user_text(text: &str) -> InputMessage;
fn system_text(text: &str) -> InputMessage;
fn assistant_text(text: &str) -> InputMessage;
}Expand description
Enhanced builder methods for InputMessage
Required Methods§
Sourcefn user_text(text: &str) -> InputMessage
fn user_text(text: &str) -> InputMessage
Sourcefn system_text(text: &str) -> InputMessage
fn system_text(text: &str) -> InputMessage
Sourcefn assistant_text(text: &str) -> InputMessage
fn assistant_text(text: &str) -> InputMessage
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.