pub struct ValidatedExternalData {
pub data: HashMap<String, Vec<u8>>,
pub media_types: HashMap<String, String>,
pub unreachable: Vec<String>,
}Expand description
Caller-supplied external resource evidence decoded while validating all verification options.
Network adapters that retain an owned ExternalResources provider use
this to avoid decoding large base64 bodies again before final verification.
Fields§
§data: HashMap<String, Vec<u8>>Decoded bodies keyed by the URI declared in signed manifest content.
media_types: HashMap<String, String>Observed media types keyed by the same URI.
unreachable: Vec<String>URIs the caller attempted but could not retrieve.
Trait Implementations§
Source§impl Debug for ValidatedExternalData
impl Debug for ValidatedExternalData
Auto Trait Implementations§
impl Freeze for ValidatedExternalData
impl RefUnwindSafe for ValidatedExternalData
impl Send for ValidatedExternalData
impl Sync for ValidatedExternalData
impl Unpin for ValidatedExternalData
impl UnsafeUnpin for ValidatedExternalData
impl UnwindSafe for ValidatedExternalData
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