Skip to main content

EmbedExt

Trait EmbedExt 

Source
pub trait EmbedExt {
    // Required methods
    fn icon_url(self, icon_url: String) -> Self;
    fn url(self, url: String) -> Self;
    fn title(self, title: String) -> Self;
    fn description(self, description: String) -> Self;
    fn media(self, media: String) -> Self;
    fn colour(self, colour: String) -> Self;
}

Required Methods§

Source

fn icon_url(self, icon_url: String) -> Self

Source

fn url(self, url: String) -> Self

Source

fn title(self, title: String) -> Self

Source

fn description(self, description: String) -> Self

Source

fn media(self, media: String) -> Self

Source

fn colour(self, colour: String) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§