pub struct GetDocumentResponse {
pub document_id: String,
pub document_url: String,
}Expand description
GetDocumentResponse : The response for the getDocument operation.
Fields§
§document_id: StringThe identifier for the Data Kiosk document. This identifier is unique only in combination with a selling partner account ID.
document_url: StringA presigned URL that can be used to retrieve the Data Kiosk document. This URL expires after 5 minutes. If the Data Kiosk document is compressed, the Content-Encoding header will indicate the compression algorithm. Note: Most HTTP clients are capable of automatically decompressing downloaded files based on the Content-Encoding header.
Implementations§
Source§impl GetDocumentResponse
impl GetDocumentResponse
Sourcepub fn new(document_id: String, document_url: String) -> GetDocumentResponse
pub fn new(document_id: String, document_url: String) -> GetDocumentResponse
The response for the getDocument operation.
Trait Implementations§
Source§impl Clone for GetDocumentResponse
impl Clone for GetDocumentResponse
Source§fn clone(&self) -> GetDocumentResponse
fn clone(&self) -> GetDocumentResponse
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 GetDocumentResponse
impl Debug for GetDocumentResponse
Source§impl Default for GetDocumentResponse
impl Default for GetDocumentResponse
Source§fn default() -> GetDocumentResponse
fn default() -> GetDocumentResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetDocumentResponse
impl<'de> Deserialize<'de> for GetDocumentResponse
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 GetDocumentResponse
impl PartialEq for GetDocumentResponse
Source§impl Serialize for GetDocumentResponse
impl Serialize for GetDocumentResponse
impl StructuralPartialEq for GetDocumentResponse
Auto Trait Implementations§
impl Freeze for GetDocumentResponse
impl RefUnwindSafe for GetDocumentResponse
impl Send for GetDocumentResponse
impl Sync for GetDocumentResponse
impl Unpin for GetDocumentResponse
impl UnsafeUnpin for GetDocumentResponse
impl UnwindSafe for GetDocumentResponse
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