Struct amazon_sp_aplus_content::models::asin_metadata::AsinMetadata
source · [−]pub struct AsinMetadata {
pub asin: String,
pub badge_set: Option<Vec<AsinBadge>>,
pub parent: Option<String>,
pub title: Option<String>,
pub image_url: Option<String>,
pub content_reference_key_set: Option<Vec<String>>,
}Expand description
AsinMetadata : The A+ Content ASIN with additional metadata for content management. If you don’t include the includedDataSet parameter in a call to the listContentDocumentAsinRelations operation, the related ASINs are returned without metadata.
Fields
asin: StringThe Amazon Standard Identification Number (ASIN).
badge_set: Option<Vec<AsinBadge>>The set of ASIN badges.
parent: Option<String>The Amazon Standard Identification Number (ASIN).
title: Option<String>The title for the ASIN in the Amazon catalog.
image_url: Option<String>The default image for the ASIN in the Amazon catalog.
content_reference_key_set: Option<Vec<String>>A set of content reference keys.
Implementations
sourceimpl AsinMetadata
impl AsinMetadata
sourcepub fn new(asin: String) -> AsinMetadata
pub fn new(asin: String) -> AsinMetadata
The A+ Content ASIN with additional metadata for content management. If you don’t include the includedDataSet parameter in a call to the listContentDocumentAsinRelations operation, the related ASINs are returned without metadata.
Trait Implementations
sourceimpl Clone for AsinMetadata
impl Clone for AsinMetadata
sourcefn clone(&self) -> AsinMetadata
fn clone(&self) -> AsinMetadata
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for AsinMetadata
impl Debug for AsinMetadata
sourceimpl Default for AsinMetadata
impl Default for AsinMetadata
sourcefn default() -> AsinMetadata
fn default() -> AsinMetadata
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for AsinMetadata
impl<'de> Deserialize<'de> for AsinMetadata
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<AsinMetadata> for AsinMetadata
impl PartialEq<AsinMetadata> for AsinMetadata
sourcefn eq(&self, other: &AsinMetadata) -> bool
fn eq(&self, other: &AsinMetadata) -> bool
sourceimpl Serialize for AsinMetadata
impl Serialize for AsinMetadata
impl StructuralPartialEq for AsinMetadata
Auto Trait Implementations
impl RefUnwindSafe for AsinMetadata
impl Send for AsinMetadata
impl Sync for AsinMetadata
impl Unpin for AsinMetadata
impl UnwindSafe for AsinMetadata
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more