[−][src]Struct openrtb_native1::request::Video
4.5 Video Request Object
The video object to be used for all video elements supported in the Native Ad. This corresponds to the Video object of OpenRTB. Exchange implementers can impose their own specific restrictions. Here are the required attributes of the Video Object. For optional attributes please refer to OpenRTB.
Fields
mimes: Vec<Cow<'a, str>>required; array of string; - Content MIME types supported. Popular MIME types include, but are not limited to “video/x-ms- wmv” for Windows Media, and “video/x-flv” for Flash Video, or “video/mp4”. Note that native frequently does not support flash.
minduration: i32required; integer; - Minimum video ad duration in seconds.
maxduration: i32required; integer; - Maximum video ad duration in seconds.
protocols: Vec<Protocol>required; array of integer; - An array of video protocols the publisher can accept in the bid response. See OpenRTB Table ‘Video Bid Response Protocols’ for a list of possible values.
ext: Option<Object<'a>>optional; object; - This object is a placeholder that may contain custom JSON agreed to by the parties to support flexibility beyond the standard defined in this specification.
Trait Implementations
impl<'a> Clone for Video<'a>[src]
impl<'a> Debug for Video<'a>[src]
impl<'a> Default for Video<'a>[src]
impl<'de: 'a, 'a> Deserialize<'de> for Video<'a>[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl<'a> PartialEq<Video<'a>> for Video<'a>[src]
impl<'a> Serialize for Video<'a>[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer, [src]
__S: Serializer,
impl<'a> StructuralPartialEq for Video<'a>[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for Video<'a>
impl<'a> Send for Video<'a>
impl<'a> Sync for Video<'a>
impl<'a> Unpin for Video<'a>
impl<'a> UnwindSafe for Video<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DefaultExt for T where
T: Default + PartialEq<T>, [src]
T: Default + PartialEq<T>,
pub fn is_default(&self) -> bool[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,