Struct google_youtube3::api::InvideoTiming
source · pub struct InvideoTiming {
pub duration_ms: Option<u64>,
pub offset_ms: Option<u64>,
pub type_: Option<String>,
}
Expand description
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<u64>
Defines the duration in milliseconds for which the promotion should be displayed. If missing, the client should use the default.
offset_ms: Option<u64>
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§
source§impl Clone for InvideoTiming
impl Clone for InvideoTiming
source§fn clone(&self) -> InvideoTiming
fn clone(&self) -> InvideoTiming
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 InvideoTiming
impl Debug for InvideoTiming
source§impl Default for InvideoTiming
impl Default for InvideoTiming
source§fn default() -> InvideoTiming
fn default() -> InvideoTiming
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for InvideoTiming
impl<'de> Deserialize<'de> for InvideoTiming
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 Serialize for InvideoTiming
impl Serialize for InvideoTiming
impl Part for InvideoTiming
Auto Trait Implementations§
impl RefUnwindSafe for InvideoTiming
impl Send for InvideoTiming
impl Sync for InvideoTiming
impl Unpin for InvideoTiming
impl UnwindSafe for InvideoTiming
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