[][src]Struct google_youtube3::InvideoTiming

pub struct InvideoTiming {
    pub offset_ms: Option<String>,
    pub type_: Option<String>,
    pub duration_ms: 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

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.

duration_ms: Option<String>

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

Trait Implementations

impl Part for InvideoTiming[src]

impl Default for InvideoTiming[src]

impl Clone for InvideoTiming[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for InvideoTiming[src]

impl Serialize for InvideoTiming[src]

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

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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.

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

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

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

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

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