[][src]Struct test262_harness::Description

pub struct Description {
    pub id: Option<String>,
    pub esid: Option<String>,
    pub es5id: Option<String>,
    pub es6id: Option<String>,
    pub info: Option<String>,
    pub description: Option<String>,
    pub negative: Option<Negative>,
    pub includes: Vec<String>,
    pub flags: Vec<Flag>,
    pub locale: Vec<String>,
    pub features: Vec<String>,
}

The parsed metadata from the file

Fields

id: Option<String>

One possible id

esid: Option<String>

One possible id

es5id: Option<String>

One possible id

es6id: Option<String>

One possible id

info: Option<String>

A longer description of what the test is trying to evaluate

description: Option<String>

A short description of what the test is trying to evaluate

negative: Option<Negative>

Will be Some if this test should fail

includes: Vec<String>

If this test relies on an files in the /harness directory they will be included here

flags: Vec<Flag>

If this test needs to be executed in a specific way i.e. as a module or strict mode only

locale: Vec<String>

Any locales that should be respected

features: Vec<String>

If this test relies on any features

Trait Implementations

impl Clone for Description[src]

impl Debug for Description[src]

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

impl PartialEq<Description> for Description[src]

impl Serialize for Description[src]

impl StructuralPartialEq for Description[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: Deserialize<'de>, 
[src]

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

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

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.