Struct twilight_model::channel::message::embed::EmbedVideo
source · pub struct EmbedVideo {
pub height: Option<u64>,
pub proxy_url: Option<String>,
pub url: Option<String>,
pub width: Option<u64>,
}Fields§
§height: Option<u64>§proxy_url: Option<String>§url: Option<String>§width: Option<u64>Trait Implementations§
source§impl Clone for EmbedVideo
impl Clone for EmbedVideo
source§fn clone(&self) -> EmbedVideo
fn clone(&self) -> EmbedVideo
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 EmbedVideo
impl Debug for EmbedVideo
source§impl<'de> Deserialize<'de> for EmbedVideo
impl<'de> Deserialize<'de> for EmbedVideo
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
source§impl Hash for EmbedVideo
impl Hash for EmbedVideo
source§impl PartialEq<EmbedVideo> for EmbedVideo
impl PartialEq<EmbedVideo> for EmbedVideo
source§fn eq(&self, other: &EmbedVideo) -> bool
fn eq(&self, other: &EmbedVideo) -> bool
This method tests for
self and other values to be equal, and is used
by ==.