pub struct DownloadFileResult {
pub content: BoxStream<'static, Result<Bytes, ProviderError>>,
pub media_type: Option<MediaType>,
pub provider_metadata: Option<ProviderMetadata>,
pub warnings: Vec<Warning>,
}Expand description
Result of a download.
Fields§
§content: BoxStream<'static, Result<Bytes, ProviderError>>File content.
media_type: Option<MediaType>Media type, if known.
provider_metadata: Option<ProviderMetadata>Provider-specific metadata.
warnings: Vec<Warning>Warnings.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for DownloadFileResult
impl !Sync for DownloadFileResult
impl !UnwindSafe for DownloadFileResult
impl Freeze for DownloadFileResult
impl Send for DownloadFileResult
impl Unpin for DownloadFileResult
impl UnsafeUnpin for DownloadFileResult
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