pub struct CampaignAggregateAssetView {
pub resource_name: String,
pub campaign: String,
pub asset: String,
pub asset_source: i32,
pub field_type: i32,
}
Expand description
A campaign-level aggregate asset view that shows where the asset is linked, performamce of the asset and stats.
Fields§
§resource_name: String
Output only. The resource name of the campaign aggregate asset view. Campaign aggregate asset view resource names have the form:
customers/{customer_id}/campaignAggregateAssetViews/{Campaign.campaign_id}~{Asset.asset_id}~{AssetLinkSource.asset_link_source}~{AssetFieldType.field_type}
campaign: String
Output only. Campaign in which the asset served.
asset: String
Output only. The ID of the asset.
asset_source: i32
Output only. Source of the asset link.
field_type: i32
Output only. FieldType of the asset.
Implementations§
Source§impl CampaignAggregateAssetView
impl CampaignAggregateAssetView
Sourcepub fn asset_source(&self) -> AssetSource
pub fn asset_source(&self) -> AssetSource
Returns the enum value of asset_source
, or the default if the field is set to an invalid enum value.
Sourcepub fn set_asset_source(&mut self, value: AssetSource)
pub fn set_asset_source(&mut self, value: AssetSource)
Sets asset_source
to the provided enum value.
Sourcepub fn field_type(&self) -> AssetFieldType
pub fn field_type(&self) -> AssetFieldType
Returns the enum value of field_type
, or the default if the field is set to an invalid enum value.
Sourcepub fn set_field_type(&mut self, value: AssetFieldType)
pub fn set_field_type(&mut self, value: AssetFieldType)
Sets field_type
to the provided enum value.
Trait Implementations§
Source§impl Clone for CampaignAggregateAssetView
impl Clone for CampaignAggregateAssetView
Source§fn clone(&self) -> CampaignAggregateAssetView
fn clone(&self) -> CampaignAggregateAssetView
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for CampaignAggregateAssetView
impl Debug for CampaignAggregateAssetView
Source§impl Default for CampaignAggregateAssetView
impl Default for CampaignAggregateAssetView
Source§impl Message for CampaignAggregateAssetView
impl Message for CampaignAggregateAssetView
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
.impl StructuralPartialEq for CampaignAggregateAssetView
Auto Trait Implementations§
impl Freeze for CampaignAggregateAssetView
impl RefUnwindSafe for CampaignAggregateAssetView
impl Send for CampaignAggregateAssetView
impl Sync for CampaignAggregateAssetView
impl Unpin for CampaignAggregateAssetView
impl UnwindSafe for CampaignAggregateAssetView
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request