pub enum ObjectPreviewSubtype {
Show 22 variants
Array,
Null,
Node,
Regexp,
Date,
Map,
Set,
Weakmap,
Weakset,
Iterator,
Generator,
Error,
Proxy,
Promise,
Typedarray,
Arraybuffer,
Dataview,
Webassemblymemory,
Wasmvalue,
Deferredmodule,
Trustedtype,
Unrecognized(String),
}Expand description
The values subtype accepts on ObjectPreview.
Variants§
Array
array
Null
null
Node
node
Regexp
regexp
Date
date
Map
map
Set
set
Weakmap
weakmap
Weakset
weakset
Iterator
iterator
Generator
generator
Error
error
Proxy
proxy
Promise
promise
Typedarray
typedarray
Arraybuffer
arraybuffer
Dataview
dataview
Webassemblymemory
webassemblymemory
Wasmvalue
wasmvalue
Deferredmodule
deferredmodule
Trustedtype
trustedtype
Unrecognized(String)
A value this vendored schema does not list. Chrome adds values ahead of the published protocol, so an unrecognised one is kept as it arrived rather than failing the payload it came in.
Trait Implementations§
Source§impl Clone for ObjectPreviewSubtype
impl Clone for ObjectPreviewSubtype
Source§impl Debug for ObjectPreviewSubtype
impl Debug for ObjectPreviewSubtype
Source§impl<'de> Deserialize<'de> for ObjectPreviewSubtype
impl<'de> Deserialize<'de> for ObjectPreviewSubtype
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
impl Eq for ObjectPreviewSubtype
Source§impl Hash for ObjectPreviewSubtype
impl Hash for ObjectPreviewSubtype
Source§impl PartialEq for ObjectPreviewSubtype
impl PartialEq for ObjectPreviewSubtype
Source§impl Serialize for ObjectPreviewSubtype
impl Serialize for ObjectPreviewSubtype
impl StructuralPartialEq for ObjectPreviewSubtype
Auto Trait Implementations§
impl Forget for ObjectPreviewSubtype
impl Freeze for ObjectPreviewSubtype
impl RefUnwindSafe for ObjectPreviewSubtype
impl Send for ObjectPreviewSubtype
impl Sync for ObjectPreviewSubtype
impl Unpin for ObjectPreviewSubtype
impl UnsafeUnpin for ObjectPreviewSubtype
impl UnwindSafe for ObjectPreviewSubtype
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