pub struct DraftTest {
pub path: String,
pub sha256: String,
pub scenarios: Vec<String>,
pub argv: Vec<String>,
pub red_class: RedClass,
pub authored_by: AuthoredBy,
pub edited_by: Option<String>,
}Expand description
One stored test of a draft.
Fields§
§path: StringProject-relative path.
sha256: Stringsha256:<hex> of its content.
scenarios: Vec<String>The scenarios it cites (never empty).
argv: Vec<String>The command that runs only it.
red_class: RedClassIts class on the checkout’s HEAD.
Who wrote it.
edited_by: Option<String>The person who edited it.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DraftTest
impl<'de> Deserialize<'de> for DraftTest
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 DraftTest
impl StructuralPartialEq for DraftTest
Auto Trait Implementations§
impl Freeze for DraftTest
impl RefUnwindSafe for DraftTest
impl Send for DraftTest
impl Sync for DraftTest
impl Unpin for DraftTest
impl UnsafeUnpin for DraftTest
impl UnwindSafe for DraftTest
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.