pub enum SubresourceIntegrityMetadata {
NoMetadata,
IntegritySources(Vec<HashFunction>),
}
Expand description
https://www.w3.org/TR/SRI/#parse-metadata
Variants§
NoMetadata
IntegritySources(Vec<HashFunction>)
Trait Implementations§
source§impl Clone for SubresourceIntegrityMetadata
impl Clone for SubresourceIntegrityMetadata
source§fn clone(&self) -> SubresourceIntegrityMetadata
fn clone(&self) -> SubresourceIntegrityMetadata
Returns a copy 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 SubresourceIntegrityMetadata
impl Debug for SubresourceIntegrityMetadata
source§impl PartialEq for SubresourceIntegrityMetadata
impl PartialEq for SubresourceIntegrityMetadata
source§fn eq(&self, other: &SubresourceIntegrityMetadata) -> bool
fn eq(&self, other: &SubresourceIntegrityMetadata) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for SubresourceIntegrityMetadata
impl StructuralPartialEq for SubresourceIntegrityMetadata
Auto Trait Implementations§
impl Freeze for SubresourceIntegrityMetadata
impl RefUnwindSafe for SubresourceIntegrityMetadata
impl Send for SubresourceIntegrityMetadata
impl Sync for SubresourceIntegrityMetadata
impl Unpin for SubresourceIntegrityMetadata
impl UnwindSafe for SubresourceIntegrityMetadata
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)