pub trait IntoContent {
// Required method
fn into_content(self) -> ContentBlock;
}Expand description
Content that can appear in a message: &str, String (as text) and the
specification’s content types.
Required Methods§
Sourcefn into_content(self) -> ContentBlock
fn into_content(self) -> ContentBlock
Performs the conversion.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".