Struct google_youtube3::api::InvideoTiming[][src]

pub struct InvideoTiming {
    pub duration_ms: Option<String>,
    pub offset_ms: Option<String>,
    pub type_: Option<String>,
}

Describes a temporal position of a visual widget inside a video.

This type is not used in any activity, and only used as part of another schema.

Fields

duration_ms: Option<String>

Defines the duration in milliseconds for which the promotion should be displayed. If missing, the client should use the default.

offset_ms: Option<String>

Defines the time at which the promotion will appear. Depending on the value of type the value of the offsetMs field will represent a time offset from the start or from the end of the video, expressed in milliseconds.

type_: Option<String>

Describes a timing type. If the value is offsetFromStart, then the offsetMs field represents an offset from the start of the video. If the value is offsetFromEnd, then the offsetMs field represents an offset from the end of the video.

Trait Implementations

impl Clone for InvideoTiming[src]

impl Debug for InvideoTiming[src]

impl Default for InvideoTiming[src]

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

impl Part for InvideoTiming[src]

impl Serialize for InvideoTiming[src]

Auto Trait Implementations

impl RefUnwindSafe for InvideoTiming[src]

impl Send for InvideoTiming[src]

impl Sync for InvideoTiming[src]

impl Unpin for InvideoTiming[src]

impl UnwindSafe for InvideoTiming[src]

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> Instrument 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.