pub enum Destination {
Show 23 variants
None,
Audio,
AudioWorklet,
Document,
Embed,
Font,
Frame,
IFrame,
Image,
Json,
Manifest,
Object,
PaintWorklet,
Report,
Script,
ServiceWorker,
SharedWorker,
Style,
Track,
Video,
WebIdentity,
Worker,
Xslt,
}
Variants§
None
Audio
AudioWorklet
Document
Embed
Font
Frame
IFrame
Image
Json
Manifest
Object
PaintWorklet
Report
Script
ServiceWorker
Style
Track
Video
WebIdentity
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 for Destination
impl PartialEq 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 ==
.source§impl Serialize for Destination
impl Serialize for Destination
impl Copy for Destination
impl Eq for Destination
impl StructuralPartialEq for Destination
Auto Trait Implementations§
impl Freeze for Destination
impl RefUnwindSafe for Destination
impl Send for Destination
impl Sync for Destination
impl Unpin for Destination
impl UnwindSafe for Destination
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