pub struct VideoImage {
pub url: String,
pub width: i32,
pub height: i32,
}Expand description
Video image
Fields§
§url: StringURL
width: i32Width
height: i32Height
Trait Implementations§
Source§impl Clone for VideoImage
impl Clone for VideoImage
Source§fn clone(&self) -> VideoImage
fn clone(&self) -> VideoImage
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 Debug for VideoImage
impl Debug for VideoImage
Source§impl<'de> Deserialize<'de> for VideoImage
impl<'de> Deserialize<'de> for VideoImage
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
Auto Trait Implementations§
impl Freeze for VideoImage
impl RefUnwindSafe for VideoImage
impl Send for VideoImage
impl Sync for VideoImage
impl Unpin for VideoImage
impl UnwindSafe for VideoImage
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