pub struct InteractiveCreativeFile<'a> {
pub mime_type: Option<Cow<'a, str>>,
pub api_framework: Option<Cow<'a, str>>,
pub variable_duration: Option<bool>,
pub uri: Cow<'a, str>,
}Expand description
The <InteractiveCreativeFile> element is used to identify the file and the framework
needed for execution.
<xs:element name="InteractiveCreativeFile" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:anyURI">
<xs:attribute name="type" type="xs:string" use="optional">
<xs:attribute name="apiFramework" type="xs:string" use="optional">
<xs:attribute name="variableDuration" type="xs:boolean" use="optional">
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>Fields§
§mime_type: Option<Cow<'a, str>>Identifies the MIME type of the file provided.
api_framework: Option<Cow<'a, str>>Identifies the API needed to execute the resource file if applicable.
variable_duration: Option<bool>Useful for interactive use cases. Identifies whether the ad always drops when the duration is reached, or if it can potentially extend the duration by pausing the underlying video or delaying the adStopped call after adVideoComplete.
uri: Cow<'a, str>A CDATA-wrapped URI to a file providing creative functions for the media file.
Trait Implementations§
Source§impl<'a> Clone for InteractiveCreativeFile<'a>
impl<'a> Clone for InteractiveCreativeFile<'a>
Source§fn clone(&self) -> InteractiveCreativeFile<'a>
fn clone(&self) -> InteractiveCreativeFile<'a>
Returns a duplicate 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<'a> Debug for InteractiveCreativeFile<'a>
impl<'a> Debug for InteractiveCreativeFile<'a>
Source§impl<'a> Default for InteractiveCreativeFile<'a>
impl<'a> Default for InteractiveCreativeFile<'a>
Source§fn default() -> InteractiveCreativeFile<'a>
fn default() -> InteractiveCreativeFile<'a>
Returns the “default value” for a type. Read more
Source§impl<'a> PartialEq for InteractiveCreativeFile<'a>
impl<'a> PartialEq for InteractiveCreativeFile<'a>
Source§impl<'__input: 'a, 'a> XmlRead<'__input> for InteractiveCreativeFile<'a>
impl<'__input: 'a, 'a> XmlRead<'__input> for InteractiveCreativeFile<'a>
Source§impl<'a> XmlWrite for InteractiveCreativeFile<'a>
impl<'a> XmlWrite for InteractiveCreativeFile<'a>
impl<'a> StructuralPartialEq for InteractiveCreativeFile<'a>
Auto Trait Implementations§
impl<'a> Freeze for InteractiveCreativeFile<'a>
impl<'a> RefUnwindSafe for InteractiveCreativeFile<'a>
impl<'a> Send for InteractiveCreativeFile<'a>
impl<'a> Sync for InteractiveCreativeFile<'a>
impl<'a> Unpin for InteractiveCreativeFile<'a>
impl<'a> UnwindSafe for InteractiveCreativeFile<'a>
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