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