pub struct CreativeField {
pub account_id: Option<i64>,
pub advertiser_id: Option<i64>,
pub advertiser_id_dimension_value: Option<DimensionValue>,
pub id: Option<i64>,
pub kind: Option<String>,
pub name: Option<String>,
pub subaccount_id: Option<i64>,
}Expand description
Contains properties of a creative field.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- delete creative fields (none)
- get creative fields (response)
- insert creative fields (request|response)
- list creative fields (none)
- patch creative fields (request|response)
- update creative fields (request|response)
Fields§
§account_id: Option<i64>Account ID of this creative field. This is a read-only field that can be left blank.
advertiser_id: Option<i64>Advertiser ID of this creative field. This is a required field on insertion.
advertiser_id_dimension_value: Option<DimensionValue>Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
id: Option<i64>ID of this creative field. This is a read-only, auto-generated field.
kind: Option<String>Identifies what kind of resource this is. Value: the fixed string “dfareporting#creativeField”.
name: Option<String>Name of this creative field. This is a required field and must be less than 256 characters long and unique among creative fields of the same advertiser.
subaccount_id: Option<i64>Subaccount ID of this creative field. This is a read-only field that can be left blank.
Trait Implementations§
Source§impl Clone for CreativeField
impl Clone for CreativeField
Source§fn clone(&self) -> CreativeField
fn clone(&self) -> CreativeField
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CreativeField
impl Debug for CreativeField
Source§impl Default for CreativeField
impl Default for CreativeField
Source§fn default() -> CreativeField
fn default() -> CreativeField
Source§impl<'de> Deserialize<'de> for CreativeField
impl<'de> Deserialize<'de> for CreativeField
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>,
Source§impl Serialize for CreativeField
impl Serialize for CreativeField
impl RequestValue for CreativeField
impl Resource for CreativeField
impl ResponseResult for CreativeField
Auto Trait Implementations§
impl Freeze for CreativeField
impl RefUnwindSafe for CreativeField
impl Send for CreativeField
impl Sync for CreativeField
impl Unpin for CreativeField
impl UnwindSafe for CreativeField
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more