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§
Source§impl 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§
Source§impl Clone for AsinMetadata
impl Clone for AsinMetadata
Source§fn clone(&self) -> AsinMetadata
fn clone(&self) -> AsinMetadata
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AsinMetadata
impl Debug for AsinMetadata
Source§impl Default for AsinMetadata
impl Default for AsinMetadata
Source§fn default() -> AsinMetadata
fn default() -> AsinMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AsinMetadata
impl<'de> Deserialize<'de> for AsinMetadata
Source§fn 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
Source§impl PartialEq for AsinMetadata
impl PartialEq for AsinMetadata
Source§impl Serialize for AsinMetadata
impl Serialize for AsinMetadata
impl StructuralPartialEq for AsinMetadata
Auto Trait Implementations§
impl Freeze for AsinMetadata
impl RefUnwindSafe for AsinMetadata
impl Send for AsinMetadata
impl Sync for AsinMetadata
impl Unpin for AsinMetadata
impl UnsafeUnpin for AsinMetadata
impl UnwindSafe for AsinMetadata
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