[][src]Struct appstream::Video

pub struct Video {
    pub width: Option<u32>,
    pub height: Option<u32>,
    pub codec: Option<String>,
    pub container: Option<String>,
    pub url: Url,
}

A screenshot video. See <screenshots/>.

Fields

width: Option<u32>

The video width.

height: Option<u32>

The video height.

codec: Option<String>

The video codec. Possible values are vp9 or av1.

container: Option<String>

The video container. Possible values are Matroska(.mkv) or WebM.

url: Url

The video url.

Trait Implementations

impl Clone for Video[src]

impl Debug for Video[src]

impl<'de> Deserialize<'de> for Video[src]

impl PartialEq<Video> for Video[src]

impl Serialize for Video[src]

impl StructuralPartialEq for Video[src]

impl<'_> TryFrom<&'_ Element> for Video[src]

type Error = ParseError

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for Video

impl Send for Video

impl Sync for Video

impl Unpin for Video

impl UnwindSafe for Video

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.