Struct googapis::google::ads::googleads::v8::resources::change_event::ChangedResource [−][src]
pub struct ChangedResource {Show 16 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>,
}
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.
Trait Implementations
fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Returns the encoded length of the message without a length delimiter.
Encodes the message to a buffer. Read more
Encodes the message to a newly allocated buffer.
Encodes the message with a length-delimiter to a buffer. Read more
Encodes the message with a length-delimiter to a newly allocated buffer.
Decodes an instance of the message from a buffer. Read more
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
Decodes a length-delimited instance of the message from the buffer.
Decodes an instance of the message from a buffer, and merges it into self
. Read more
Decodes a length-delimited instance of the message from buffer, and
merges it into self
. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ChangedResource
impl Send for ChangedResource
impl Sync for ChangedResource
impl Unpin for ChangedResource
impl UnwindSafe for ChangedResource
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more