Enum google_api_proto::google::ads::searchads360::v0::resources::asset::AssetData
source · pub enum AssetData {
YoutubeVideoAsset(YoutubeVideoAsset),
ImageAsset(ImageAsset),
TextAsset(TextAsset),
CalloutAsset(UnifiedCalloutAsset),
SitelinkAsset(UnifiedSitelinkAsset),
PageFeedAsset(UnifiedPageFeedAsset),
MobileAppAsset(MobileAppAsset),
CallAsset(UnifiedCallAsset),
CallToActionAsset(CallToActionAsset),
LocationAsset(UnifiedLocationAsset),
}
Expand description
The specific type of the asset.
Variants§
YoutubeVideoAsset(YoutubeVideoAsset)
Immutable. A YouTube video asset.
ImageAsset(ImageAsset)
Output only. An image asset.
TextAsset(TextAsset)
Output only. A text asset.
CalloutAsset(UnifiedCalloutAsset)
Output only. A unified callout asset.
SitelinkAsset(UnifiedSitelinkAsset)
Output only. A unified sitelink asset.
PageFeedAsset(UnifiedPageFeedAsset)
Output only. A unified page feed asset.
MobileAppAsset(MobileAppAsset)
A mobile app asset.
CallAsset(UnifiedCallAsset)
Output only. A unified call asset.
CallToActionAsset(CallToActionAsset)
Immutable. A call to action asset.
LocationAsset(UnifiedLocationAsset)
Output only. A unified location asset.
Implementations§
source§impl AssetData
impl AssetData
sourcepub fn merge(
field: &mut Option<AssetData>,
tag: u32,
wire_type: WireType,
buf: &mut impl Buf,
ctx: DecodeContext,
) -> Result<(), DecodeError>
pub fn merge( field: &mut Option<AssetData>, tag: u32, wire_type: WireType, buf: &mut impl Buf, ctx: DecodeContext, ) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into self.
sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
source§impl PartialEq for AssetData
impl PartialEq for AssetData
impl StructuralPartialEq for AssetData
Auto Trait Implementations§
impl Freeze for AssetData
impl RefUnwindSafe for AssetData
impl Send for AssetData
impl Sync for AssetData
impl Unpin for AssetData
impl UnwindSafe for AssetData
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
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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>
Wrap the input message
T
in a tonic::Request