pub struct StaticResource<'a> {
pub creative_type: Cow<'a, str>,
pub uri: Cow<'a, str>,
}Expand description
The URI to a static creative file to be used for the ad component identified in the parent element.
<xs:element name="StaticResource">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:anyURI">
<xs:attribute name="creativeType" type="xs:string" use="required">
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>Fields§
§creative_type: Cow<'a, str>Identifies the MIME type of the creative provided.
uri: Cow<'a, str>A URI to the static creative file to be used for the ad component identified in the parent element.
Trait Implementations§
Source§impl<'a> Clone for StaticResource<'a>
impl<'a> Clone for StaticResource<'a>
Source§fn clone(&self) -> StaticResource<'a>
fn clone(&self) -> StaticResource<'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 StaticResource<'a>
impl<'a> Debug for StaticResource<'a>
Source§impl<'a> Default for StaticResource<'a>
impl<'a> Default for StaticResource<'a>
Source§fn default() -> StaticResource<'a>
fn default() -> StaticResource<'a>
Returns the “default value” for a type. Read more
Source§impl<'a> PartialEq for StaticResource<'a>
impl<'a> PartialEq for StaticResource<'a>
Source§impl<'__input: 'a, 'a> XmlRead<'__input> for StaticResource<'a>
impl<'__input: 'a, 'a> XmlRead<'__input> for StaticResource<'a>
Source§impl<'a> XmlWrite for StaticResource<'a>
impl<'a> XmlWrite for StaticResource<'a>
impl<'a> StructuralPartialEq for StaticResource<'a>
Auto Trait Implementations§
impl<'a> Freeze for StaticResource<'a>
impl<'a> RefUnwindSafe for StaticResource<'a>
impl<'a> Send for StaticResource<'a>
impl<'a> Sync for StaticResource<'a>
impl<'a> Unpin for StaticResource<'a>
impl<'a> UnwindSafe for StaticResource<'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