pub enum Destination {
Show 19 variants
None,
Audio,
AudioWorklet,
Document,
Embed,
Font,
Image,
Manifest,
Object,
PaintWorklet,
Report,
Script,
ServiceWorker,
SharedWorker,
Style,
Track,
Video,
Worker,
Xslt,
}
Variants§
None
Audio
AudioWorklet
Document
Embed
Font
Image
Manifest
Object
PaintWorklet
Report
Script
ServiceWorker
Style
Track
Video
Worker
Xslt
Implementations§
source§impl Destination
impl Destination
sourcepub fn is_script_like(self) -> bool
pub fn is_script_like(self) -> bool
https://fetch.spec.whatwg.org/#request-destination-script-like
Trait Implementations§
source§impl Clone for Destination
impl Clone for Destination
source§fn clone(&self) -> Destination
fn clone(&self) -> Destination
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 Destination
impl Debug for Destination
source§impl<'de> Deserialize<'de> for Destination
impl<'de> Deserialize<'de> for Destination
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<Destination> for Destination
impl PartialEq<Destination> for Destination
source§fn eq(&self, other: &Destination) -> bool
fn eq(&self, other: &Destination) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.