Struct google_dfareporting2d8::api::Rule
source · pub struct Rule {
pub asset_id: Option<i64>,
pub name: Option<String>,
pub targeting_template_id: Option<i64>,
}
Expand description
A rule associates an asset with a targeting template for asset-level targeting. Applicable to INSTREAM_VIDEO creatives.
This type is not used in any activity, and only used as part of another schema.
Fields§
§asset_id: Option<i64>
A creativeAssets[].id. This should refer to one of the parent assets in this creative. This is a required field.
name: Option<String>
A user-friendly name for this rule. This is a required field.
targeting_template_id: Option<i64>
A targeting template ID. The targeting from the targeting template will be used to determine whether this asset should be served. This is a required field.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Rule
impl<'de> Deserialize<'de> for Rule
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 Part for Rule
Auto Trait Implementations§
impl RefUnwindSafe for Rule
impl Send for Rule
impl Sync for Rule
impl Unpin for Rule
impl UnwindSafe for Rule
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