pub struct DownloadedContent {
pub data: Vec<u8>,
pub content_type: Option<String>,
}Fields§
§data: Vec<u8>§content_type: Option<String>Trait Implementations§
Source§impl Clone for DownloadedContent
impl Clone for DownloadedContent
Source§fn clone(&self) -> DownloadedContent
fn clone(&self) -> DownloadedContent
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 DownloadedContent
impl Debug for DownloadedContent
Source§impl Default for DownloadedContent
impl Default for DownloadedContent
Source§fn default() -> DownloadedContent
fn default() -> DownloadedContent
Returns the “default value” for a type. Read more
Source§impl PartialEq for DownloadedContent
impl PartialEq for DownloadedContent
impl Eq for DownloadedContent
impl StructuralPartialEq for DownloadedContent
Auto Trait Implementations§
impl Freeze for DownloadedContent
impl RefUnwindSafe for DownloadedContent
impl Send for DownloadedContent
impl Sync for DownloadedContent
impl Unpin for DownloadedContent
impl UnsafeUnpin for DownloadedContent
impl UnwindSafe for DownloadedContent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.