Struct twilight_model::channel::embed::EmbedVideo [−][src]
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
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for EmbedVideo
impl Send for EmbedVideo
impl Sync for EmbedVideo
impl Unpin for EmbedVideo
impl UnwindSafe for EmbedVideo
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more