Struct amazon_sp_feeds::models::feed_document::FeedDocument
source · [−]pub struct FeedDocument {
pub feed_document_id: String,
pub url: String,
pub encryption_details: Box<FeedDocumentEncryptionDetails>,
pub compression_algorithm: Option<CompressionAlgorithm>,
}Fields
feed_document_id: StringThe identifier for the feed document. This identifier is unique only in combination with a seller ID.
url: StringA presigned URL for the feed document. If compressionAlgorithm is not returned, you can download the feed directly from this URL. This URL expires after 5 minutes.
encryption_details: Box<FeedDocumentEncryptionDetails>compression_algorithm: Option<CompressionAlgorithm>If the feed document contents have been compressed, the compression algorithm used is returned in this property and you must decompress the feed when you download. Otherwise, you can download the feed directly. Refer to Step 6. Download and decrypt the feed processing report in the use case guide, where sample code is provided.
Implementations
sourceimpl FeedDocument
impl FeedDocument
pub fn new(
feed_document_id: String,
url: String,
encryption_details: FeedDocumentEncryptionDetails
) -> FeedDocument
Trait Implementations
sourceimpl Clone for FeedDocument
impl Clone for FeedDocument
sourcefn clone(&self) -> FeedDocument
fn clone(&self) -> FeedDocument
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 FeedDocument
impl Debug for FeedDocument
sourceimpl Default for FeedDocument
impl Default for FeedDocument
sourcefn default() -> FeedDocument
fn default() -> FeedDocument
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for FeedDocument
impl<'de> Deserialize<'de> for FeedDocument
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<FeedDocument> for FeedDocument
impl PartialEq<FeedDocument> for FeedDocument
sourcefn eq(&self, other: &FeedDocument) -> bool
fn eq(&self, other: &FeedDocument) -> bool
sourceimpl Serialize for FeedDocument
impl Serialize for FeedDocument
impl StructuralPartialEq for FeedDocument
Auto Trait Implementations
impl RefUnwindSafe for FeedDocument
impl Send for FeedDocument
impl Sync for FeedDocument
impl Unpin for FeedDocument
impl UnwindSafe for FeedDocument
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