pub struct EmbedVideo {
pub height: Option<u64>,
pub proxy_url: Option<String>,
pub url: Option<String>,
pub width: Option<u64>,
pub content_type: Option<String>,
pub placeholder: Option<String>,
pub placeholder_version: Option<u64>,
pub flags: Option<EmbedMediaFlags>,
}Fields§
§height: Option<u64>§proxy_url: Option<String>§url: Option<String>§width: Option<u64>§content_type: Option<String>Video’s media type.
placeholder: Option<String>A thumbhash placeholder of the video.
placeholder_version: Option<u64>Version of the placeholder.
flags: Option<EmbedMediaFlags>Media flags for this video.
Trait Implementations§
Source§impl Clone for EmbedVideo
impl Clone for EmbedVideo
Source§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
impl Eq for EmbedVideo
Source§impl Hash for EmbedVideo
impl Hash for EmbedVideo
Source§impl PartialEq for EmbedVideo
impl PartialEq for EmbedVideo
Source§impl Serialize for EmbedVideo
impl Serialize for EmbedVideo
impl StructuralPartialEq for EmbedVideo
Auto Trait Implementations§
impl Forget for EmbedVideo
impl Freeze for EmbedVideo
impl Move for EmbedVideo
impl RefUnwindSafe for EmbedVideowhere
InternalBitFlags: RefUnwindSafe,
impl Send for EmbedVideo
impl Sync for EmbedVideo
impl Unpin for EmbedVideo
impl UnsafeUnpin for EmbedVideo
impl UnwindSafe for EmbedVideowhere
RawVecInner: UnwindSafe,
InternalBitFlags: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more