pub enum BlobDownload {
Bytes(Vec<u8>),
Url {
url: String,
url_expires_at_ms: Option<i64>,
},
}Expand description
A §5.9.5 blob download result: inline bytes, or a presigned url the client
fetches directly (always-issue). url_expires_at_ms is present iff url.
Variants§
Trait Implementations§
Source§impl Clone for BlobDownload
impl Clone for BlobDownload
Source§fn clone(&self) -> BlobDownload
fn clone(&self) -> BlobDownload
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BlobDownload
impl RefUnwindSafe for BlobDownload
impl Send for BlobDownload
impl Sync for BlobDownload
impl Unpin for BlobDownload
impl UnsafeUnpin for BlobDownload
impl UnwindSafe for BlobDownload
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