pub enum PropertyPreviewType {
Object,
Function,
Undefined,
String,
Number,
Boolean,
Symbol,
Accessor,
Bigint,
Unrecognized(String),
}Expand description
The values type accepts on PropertyPreview.
Variants§
Object
object
Function
function
Undefined
undefined
String
string
Number
number
Boolean
boolean
Symbol
symbol
Accessor
accessor
Bigint
bigint
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 PropertyPreviewType
impl Clone for PropertyPreviewType
Source§impl Debug for PropertyPreviewType
impl Debug for PropertyPreviewType
Source§impl<'de> Deserialize<'de> for PropertyPreviewType
impl<'de> Deserialize<'de> for PropertyPreviewType
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 PropertyPreviewType
Source§impl Hash for PropertyPreviewType
impl Hash for PropertyPreviewType
Source§impl PartialEq for PropertyPreviewType
impl PartialEq for PropertyPreviewType
Source§impl Serialize for PropertyPreviewType
impl Serialize for PropertyPreviewType
impl StructuralPartialEq for PropertyPreviewType
Auto Trait Implementations§
impl Forget for PropertyPreviewType
impl Freeze for PropertyPreviewType
impl RefUnwindSafe for PropertyPreviewType
impl Send for PropertyPreviewType
impl Sync for PropertyPreviewType
impl Unpin for PropertyPreviewType
impl UnsafeUnpin for PropertyPreviewType
impl UnwindSafe for PropertyPreviewType
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