Struct cdp::dom_snapshot::NameValue [] [src]

pub struct NameValue<'a> {
    pub name: Cow<'a, str>,
    pub value: Cow<'a, str>,
}

[Experimental] A name/value pair.

Fields

Attribute/property name.

Attribute/property value.

Trait Implementations

impl<'a> Clone for NameValue<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Debug for NameValue<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for NameValue<'a>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.