pub struct ChannelAggregateAssetView {
pub resource_name: String,
pub advertising_channel_type: i32,
pub asset: String,
pub asset_source: i32,
pub field_type: i32,
}
Expand description
A channel-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 channel aggregate asset view. Channel aggregate asset view resource names have the form:
customers/{customer_id}/channelAggregateAssetViews/{ChannelAssetV2.advertising_channel_type}~{ChannelAssetV2.asset_id}~{ChannelAssetV2.asset_source}~{ChannelAssetV2.field_type}"
advertising_channel_type: i32
Output only. Channel 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 ChannelAggregateAssetView
impl ChannelAggregateAssetView
Sourcepub fn advertising_channel_type(&self) -> AdvertisingChannelType
pub fn advertising_channel_type(&self) -> AdvertisingChannelType
Returns the enum value of advertising_channel_type
, or the default if the field is set to an invalid enum value.
Sourcepub fn set_advertising_channel_type(&mut self, value: AdvertisingChannelType)
pub fn set_advertising_channel_type(&mut self, value: AdvertisingChannelType)
Sets advertising_channel_type
to the provided enum value.
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 ChannelAggregateAssetView
impl Clone for ChannelAggregateAssetView
Source§fn clone(&self) -> ChannelAggregateAssetView
fn clone(&self) -> ChannelAggregateAssetView
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ChannelAggregateAssetView
impl Debug for ChannelAggregateAssetView
Source§impl Default for ChannelAggregateAssetView
impl Default for ChannelAggregateAssetView
Source§impl Message for ChannelAggregateAssetView
impl Message for ChannelAggregateAssetView
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 ChannelAggregateAssetView
Auto Trait Implementations§
impl Freeze for ChannelAggregateAssetView
impl RefUnwindSafe for ChannelAggregateAssetView
impl Send for ChannelAggregateAssetView
impl Sync for ChannelAggregateAssetView
impl Unpin for ChannelAggregateAssetView
impl UnwindSafe for ChannelAggregateAssetView
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