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 for EmbedVideo
impl PartialEq for EmbedVideo
source§impl Serialize for EmbedVideo
impl Serialize for EmbedVideo
impl Eq for EmbedVideo
impl StructuralPartialEq for EmbedVideo
Auto Trait Implementations§
impl Freeze for EmbedVideo
impl RefUnwindSafe for EmbedVideo
impl Send for EmbedVideo
impl Sync for EmbedVideo
impl Unpin for EmbedVideo
impl UnwindSafe for EmbedVideo
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)