pub struct Placement {
pub path: String,
pub existing: Option<String>,
pub command: String,
pub task: String,
pub story: Option<String>,
pub scenarios: Vec<String>,
pub comment: String,
pub layout: String,
}Expand description
Where the visible author writes: the story’s file (or a convergence task’s own), its current content, and the command that runs only it.
Fields§
§path: StringThe file, project-relative.
existing: Option<String>Its current content, when it exists (earlier tasks’ sections).
command: StringThe command that runs only it.
task: StringThe task.
story: Option<String>The story, when the file is the story’s.
scenarios: Vec<String>The scenarios the section covers.
comment: StringThe comment marker of the file’s language (//, #).
layout: StringThe test layout’s text.
Trait Implementations§
impl Eq for Placement
impl StructuralPartialEq for Placement
Auto Trait Implementations§
impl Freeze for Placement
impl RefUnwindSafe for Placement
impl Send for Placement
impl Sync for Placement
impl Unpin for Placement
impl UnsafeUnpin for Placement
impl UnwindSafe for Placement
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,
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.