pub struct Native {
pub request: String,
pub ver: Option<String>,
pub api: Option<Vec<i64>>,
pub battr: Option<Vec<i64>>,
pub ext: Option<Value>,
}Expand description
Represents a native type impression.
Fields§
§request: StringRequest payload complying with Native Ad Specification (JSON encoded string).
ver: Option<String>Version of the Dynamic Native Ads API. Highly recommended.
api: Option<Vec<i64>>List of supported API frameworks. Refer to AdCOM 1.0 List: API Frameworks.
battr: Option<Vec<i64>>Blocked creative attributes. Refer to AdCOM 1.0 List: Creative Attributes.
ext: Option<Value>Placeholder for exchange-specific extensions.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Native
impl<'de> Deserialize<'de> for Native
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
impl StructuralPartialEq for Native
Auto Trait Implementations§
impl Freeze for Native
impl RefUnwindSafe for Native
impl Send for Native
impl Sync for Native
impl Unpin for Native
impl UnsafeUnpin for Native
impl UnwindSafe for Native
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