pub trait MessageResponse {
// Required method
fn as_message(self) -> CreateMessageOptions;
}Expand description
Represents different types that can be sent to the Discord API.
Required Methods§
fn as_message(self) -> CreateMessageOptions
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".