Struct twilight_model::channel::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
sourceimpl Clone for EmbedVideo
impl Clone for EmbedVideo
sourcefn clone(&self) -> EmbedVideo
fn clone(&self) -> EmbedVideo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for EmbedVideo
impl Debug for EmbedVideo
sourceimpl<'de> Deserialize<'de> for EmbedVideo
impl<'de> Deserialize<'de> for EmbedVideo
sourcefn 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
sourceimpl Hash for EmbedVideo
impl Hash for EmbedVideo
sourceimpl PartialEq<EmbedVideo> for EmbedVideo
impl PartialEq<EmbedVideo> for EmbedVideo
sourcefn eq(&self, other: &EmbedVideo) -> bool
fn eq(&self, other: &EmbedVideo) -> bool
sourceimpl Serialize for EmbedVideo
impl Serialize for EmbedVideo
impl Eq for EmbedVideo
impl StructuralEq for EmbedVideo
impl StructuralPartialEq for EmbedVideo
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more