Struct artifact_app::core::types::Artifact
[−]
[src]
pub struct Artifact { pub path: PathBuf, pub text: String, pub partof: ArtNames, pub parts: ArtNames, pub loc: Option<Loc>, pub completed: f32, pub tested: f32, }
The Artifact type. This encapsulates REQ, SPC, RSK, and TST artifacts and contains space to link them
SPC-artifact
Fields
path: PathBuf
text: String
partof: ArtNames
parts: ArtNames
loc: Option<Loc>
completed: f32
tested: f32
Methods
impl Artifact
[src]
fn is_parent(&self) -> bool
fn to_data(&self, name: &ArtNameRc) -> ArtifactData
fn from_data(data: &ArtifactData) -> Result<(ArtNameRc, Artifact)>
impl Artifact
[src]
fn from_str(toml: &str) -> Result<(ArtNameRc, Artifact)>
from_str is mosty used to make testing and one-off development easier
Trait Implementations
impl Clone for Artifact
[src]
fn clone(&self) -> Artifact
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more