Struct rive_models::embed::SendableEmbed
source · pub struct SendableEmbed {
pub icon_url: Option<String>,
pub url: Option<String>,
pub title: Option<String>,
pub description: Option<String>,
pub media: Option<String>,
pub colour: Option<String>,
}Expand description
Representation of a text embed before it is sent.
Fields§
§icon_url: Option<String>§url: Option<String>§title: Option<String>§description: Option<String>§media: Option<String>§colour: Option<String>Trait Implementations§
source§impl Clone for SendableEmbed
impl Clone for SendableEmbed
source§fn clone(&self) -> SendableEmbed
fn clone(&self) -> SendableEmbed
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for SendableEmbed
impl Debug for SendableEmbed
source§impl Default for SendableEmbed
impl Default for SendableEmbed
source§fn default() -> SendableEmbed
fn default() -> SendableEmbed
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SendableEmbed
impl<'de> Deserialize<'de> for SendableEmbed
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more