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<SubresourceIntegrityMetadata> for SubresourceIntegrityMetadata
impl PartialEq<SubresourceIntegrityMetadata> for SubresourceIntegrityMetadata
source§fn eq(&self, other: &SubresourceIntegrityMetadata) -> bool
fn eq(&self, other: &SubresourceIntegrityMetadata) -> bool
This method tests for
self and other values to be equal, and is used
by ==.