pub struct ChangedResource {Show 19 fields
pub ad: Option<Ad>,
pub ad_group: Option<AdGroup>,
pub ad_group_criterion: Option<AdGroupCriterion>,
pub campaign: Option<Campaign>,
pub campaign_budget: Option<CampaignBudget>,
pub ad_group_bid_modifier: Option<AdGroupBidModifier>,
pub campaign_criterion: Option<CampaignCriterion>,
pub feed: Option<Feed>,
pub feed_item: Option<FeedItem>,
pub campaign_feed: Option<CampaignFeed>,
pub ad_group_feed: Option<AdGroupFeed>,
pub ad_group_ad: Option<AdGroupAd>,
pub asset: Option<Asset>,
pub customer_asset: Option<CustomerAsset>,
pub campaign_asset: Option<CampaignAsset>,
pub ad_group_asset: Option<AdGroupAsset>,
pub asset_set: Option<AssetSet>,
pub asset_set_asset: Option<AssetSetAsset>,
pub campaign_asset_set: Option<CampaignAssetSet>,
}
Expand description
A wrapper proto presenting all supported resources. Only the resource of the change_resource_type will be set.
Fields§
§ad: Option<Ad>
Output only. Set if change_resource_type == AD.
ad_group: Option<AdGroup>
Output only. Set if change_resource_type == AD_GROUP.
ad_group_criterion: Option<AdGroupCriterion>
Output only. Set if change_resource_type == AD_GROUP_CRITERION.
campaign: Option<Campaign>
Output only. Set if change_resource_type == CAMPAIGN.
campaign_budget: Option<CampaignBudget>
Output only. Set if change_resource_type == CAMPAIGN_BUDGET.
ad_group_bid_modifier: Option<AdGroupBidModifier>
Output only. Set if change_resource_type == AD_GROUP_BID_MODIFIER.
campaign_criterion: Option<CampaignCriterion>
Output only. Set if change_resource_type == CAMPAIGN_CRITERION.
feed: Option<Feed>
Output only. Set if change_resource_type == FEED.
feed_item: Option<FeedItem>
Output only. Set if change_resource_type == FEED_ITEM.
campaign_feed: Option<CampaignFeed>
Output only. Set if change_resource_type == CAMPAIGN_FEED.
ad_group_feed: Option<AdGroupFeed>
Output only. Set if change_resource_type == AD_GROUP_FEED.
ad_group_ad: Option<AdGroupAd>
Output only. Set if change_resource_type == AD_GROUP_AD.
asset: Option<Asset>
Output only. Set if change_resource_type == ASSET.
customer_asset: Option<CustomerAsset>
Output only. Set if change_resource_type == CUSTOMER_ASSET.
campaign_asset: Option<CampaignAsset>
Output only. Set if change_resource_type == CAMPAIGN_ASSET.
ad_group_asset: Option<AdGroupAsset>
Output only. Set if change_resource_type == AD_GROUP_ASSET.
asset_set: Option<AssetSet>
Output only. Set if change_resource_type == ASSET_SET.
asset_set_asset: Option<AssetSetAsset>
Output only. Set if change_resource_type == ASSET_SET_ASSET.
campaign_asset_set: Option<CampaignAssetSet>
Output only. Set if change_resource_type == CAMPAIGN_ASSET_SET.
Trait Implementations§
Source§impl Clone for ChangedResource
impl Clone for ChangedResource
Source§fn clone(&self) -> ChangedResource
fn clone(&self) -> ChangedResource
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ChangedResource
impl Debug for ChangedResource
Source§impl Default for ChangedResource
impl Default for ChangedResource
Source§impl Message for ChangedResource
impl Message for ChangedResource
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
.Source§impl PartialEq for ChangedResource
impl PartialEq for ChangedResource
impl StructuralPartialEq for ChangedResource
Auto Trait Implementations§
impl Freeze for ChangedResource
impl RefUnwindSafe for ChangedResource
impl Send for ChangedResource
impl Sync for ChangedResource
impl Unpin for ChangedResource
impl UnwindSafe for ChangedResource
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