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),
DiscoveryCarouselCardAsset(DiscoveryCarouselCardAsset),
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.
DiscoveryCarouselCardAsset(DiscoveryCarouselCardAsset)
Immutable. A discovery 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(
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
§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>
T
in a tonic::Request