ruvolt 0.5.0

An API wrapper for Revolt written in Rust.
Documentation
use serde::Deserialize;

use crate::models::Attachment;

/// A text embed.
#[derive(Debug, Deserialize, Clone, PartialEq)]
pub struct TextEmbed {
    /// Embed icon url.
    pub icon_url: Option<String>,
    /// Embed url.
    pub url: Option<String>,
    /// Embed title.
    pub title: Option<String>,
    /// Embed description.
    pub description: Option<String>,
    /// Embed media.
    pub media: Option<Attachment>,
    /// Embed color.
    #[serde(rename = "colour")]
    pub color: Option<String>,
}