pub struct EmbedVideo<'a> {
pub url: Option<&'a str>,
pub proxy_url: Option<&'a str>,
pub height: Option<i32>,
pub width: Option<i32>,
}Expand description
Embed Video
Fields§
§url: Option<&'a str>source url of video
proxy_url: Option<&'a str>a proxied url of the video
height: Option<i32>height of video
width: Option<i32>width of video
Trait Implementations§
Source§impl<'a> Clone for EmbedVideo<'a>
impl<'a> Clone for EmbedVideo<'a>
Source§fn clone(&self) -> EmbedVideo<'a>
fn clone(&self) -> EmbedVideo<'a>
Returns a duplicate 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<'a> Debug for EmbedVideo<'a>
impl<'a> Debug for EmbedVideo<'a>
Source§impl<'a> Default for EmbedVideo<'a>
impl<'a> Default for EmbedVideo<'a>
Source§fn default() -> EmbedVideo<'a>
fn default() -> EmbedVideo<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for EmbedVideo<'a>
impl<'a> RefUnwindSafe for EmbedVideo<'a>
impl<'a> Send for EmbedVideo<'a>
impl<'a> Sync for EmbedVideo<'a>
impl<'a> Unpin for EmbedVideo<'a>
impl<'a> UnwindSafe for EmbedVideo<'a>
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