pub enum AssetData {
Show 27 variants
YoutubeVideoAsset(YoutubeVideoAsset),
MediaBundleAsset(MediaBundleAsset),
ImageAsset(ImageAsset),
TextAsset(TextAsset),
LeadFormAsset(LeadFormAsset),
BookOnGoogleAsset(BookOnGoogleAsset),
PromotionAsset(PromotionAsset),
CalloutAsset(CalloutAsset),
StructuredSnippetAsset(StructuredSnippetAsset),
SitelinkAsset(SitelinkAsset),
PageFeedAsset(PageFeedAsset),
DynamicEducationAsset(DynamicEducationAsset),
MobileAppAsset(MobileAppAsset),
HotelCalloutAsset(HotelCalloutAsset),
CallAsset(CallAsset),
PriceAsset(PriceAsset),
CallToActionAsset(CallToActionAsset),
DynamicRealEstateAsset(DynamicRealEstateAsset),
DynamicCustomAsset(DynamicCustomAsset),
DynamicHotelsAndRentalsAsset(DynamicHotelsAndRentalsAsset),
DynamicFlightsAsset(DynamicFlightsAsset),
DemandGenCarouselCardAsset(DemandGenCarouselCardAsset),
DynamicTravelAsset(DynamicTravelAsset),
DynamicLocalAsset(DynamicLocalAsset),
DynamicJobsAsset(DynamicJobsAsset),
LocationAsset(LocationAsset),
HotelPropertyAsset(HotelPropertyAsset),
}
Expand description
The specific type of the asset.
Variants§
YoutubeVideoAsset(YoutubeVideoAsset)
Immutable. A YouTube video asset.
MediaBundleAsset(MediaBundleAsset)
Immutable. A media bundle asset.
ImageAsset(ImageAsset)
Output only. An image asset.
TextAsset(TextAsset)
Immutable. A text asset.
LeadFormAsset(LeadFormAsset)
A lead form asset.
BookOnGoogleAsset(BookOnGoogleAsset)
A book on google asset.
PromotionAsset(PromotionAsset)
A promotion asset.
CalloutAsset(CalloutAsset)
A callout asset.
StructuredSnippetAsset(StructuredSnippetAsset)
A structured snippet asset.
SitelinkAsset(SitelinkAsset)
A sitelink asset.
PageFeedAsset(PageFeedAsset)
A page feed asset.
DynamicEducationAsset(DynamicEducationAsset)
A dynamic education asset.
MobileAppAsset(MobileAppAsset)
A mobile app asset.
HotelCalloutAsset(HotelCalloutAsset)
A hotel callout asset.
CallAsset(CallAsset)
A call asset.
PriceAsset(PriceAsset)
A price asset.
CallToActionAsset(CallToActionAsset)
Immutable. A call to action asset.
DynamicRealEstateAsset(DynamicRealEstateAsset)
A dynamic real estate asset.
DynamicCustomAsset(DynamicCustomAsset)
A dynamic custom asset.
DynamicHotelsAndRentalsAsset(DynamicHotelsAndRentalsAsset)
A dynamic hotels and rentals asset.
DynamicFlightsAsset(DynamicFlightsAsset)
A dynamic flights asset.
DemandGenCarouselCardAsset(DemandGenCarouselCardAsset)
Immutable. A Demand Gen carousel card asset.
DynamicTravelAsset(DynamicTravelAsset)
A dynamic travel asset.
DynamicLocalAsset(DynamicLocalAsset)
A dynamic local asset.
DynamicJobsAsset(DynamicJobsAsset)
A dynamic jobs asset.
LocationAsset(LocationAsset)
Output only. A location asset.
HotelPropertyAsset(HotelPropertyAsset)
Immutable. A hotel property asset.
Implementations§
Source§impl AssetData
impl AssetData
Sourcepub fn merge<B>(
field: &mut Option<AssetData>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext,
) -> Result<(), DecodeError>where
B: Buf,
pub fn merge<B>(
field: &mut Option<AssetData>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext,
) -> Result<(), DecodeError>where
B: Buf,
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§
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
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