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>,
}Expand description
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§
Source§impl Clone for Description
impl Clone for Description
Source§fn clone(&self) -> Description
fn clone(&self) -> Description
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Description
impl Debug for Description
Source§impl<'de> Deserialize<'de> for Description
impl<'de> Deserialize<'de> for Description
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
Source§impl PartialEq for Description
impl PartialEq for Description
Source§impl Serialize for Description
impl Serialize for Description
impl StructuralPartialEq for Description
Auto Trait Implementations§
impl Freeze for Description
impl RefUnwindSafe for Description
impl Send for Description
impl Sync for Description
impl Unpin for Description
impl UnwindSafe for Description
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