pub struct ResolvedData {
pub bytes: Vec<u8>,
pub content_type: String,
}Expand description
The resolved bytes plus their content type. Only ever the VERIFIED content of a
ResolveOutcome::Success.
Fields§
§bytes: Vec<u8>The verified, decrypted resource bytes.
content_type: StringThe MIME type.
Implementations§
Trait Implementations§
Source§impl Clone for ResolvedData
impl Clone for ResolvedData
Source§fn clone(&self) -> ResolvedData
fn clone(&self) -> ResolvedData
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 moreSource§impl Debug for ResolvedData
impl Debug for ResolvedData
impl Eq for ResolvedData
Source§impl PartialEq for ResolvedData
impl PartialEq for ResolvedData
impl StructuralPartialEq for ResolvedData
Auto Trait Implementations§
impl Freeze for ResolvedData
impl RefUnwindSafe for ResolvedData
impl Send for ResolvedData
impl Sync for ResolvedData
impl Unpin for ResolvedData
impl UnsafeUnpin for ResolvedData
impl UnwindSafe for ResolvedData
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