Struct chromiumoxide::cdp::js_protocol::runtime::PropertyDescriptor[][src]

pub struct PropertyDescriptor {
    pub name: String,
    pub value: Option<RemoteObject>,
    pub writable: Option<bool>,
    pub get: Option<RemoteObject>,
    pub set: Option<RemoteObject>,
    pub configurable: bool,
    pub enumerable: bool,
    pub was_thrown: Option<bool>,
    pub is_own: Option<bool>,
    pub symbol: Option<RemoteObject>,
}

Object property descriptor. PropertyDescriptor

Fields

name: String

Property name or symbol description.

value: Option<RemoteObject>

The value associated with the property.

writable: Option<bool>

True if the value associated with the property may be changed (data descriptors only).

get: Option<RemoteObject>

A function which serves as a getter for the property, or undefined if there is no getter (accessor descriptors only).

set: Option<RemoteObject>

A function which serves as a setter for the property, or undefined if there is no setter (accessor descriptors only).

configurable: bool

True if the type of this property descriptor may be changed and if the property may be deleted from the corresponding object.

enumerable: bool

True if this property shows up during enumeration of the properties on the corresponding object.

was_thrown: Option<bool>

True if the result was thrown during the evaluation.

is_own: Option<bool>

True if the property is owned for the object.

symbol: Option<RemoteObject>

Property symbol object, if the property is of the symbol type.

Implementations

impl PropertyDescriptor[src]

pub fn new(
    name: impl Into<String>,
    configurable: impl Into<bool>,
    enumerable: impl Into<bool>
) -> PropertyDescriptor
[src]

impl PropertyDescriptor[src]

impl PropertyDescriptor[src]

pub const IDENTIFIER: &'static str[src]

Trait Implementations

impl Clone for PropertyDescriptor[src]

impl Debug for PropertyDescriptor[src]

impl<'de> Deserialize<'de> for PropertyDescriptor[src]

impl PartialEq<PropertyDescriptor> for PropertyDescriptor[src]

impl Serialize for PropertyDescriptor[src]

impl StructuralPartialEq for PropertyDescriptor[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,