Lines
100 %
Functions
5.13 %
Branches
8.7 %
use crate::domain::commands::arguments::Argument;
use crate::domain::target::TargetKind;
use crate::project_model::sourceset::SourceSet;
use serde::{Deserialize, Serialize};
use std::borrow::Cow;
#[derive(Debug, PartialEq, Eq, Serialize, Deserialize, Default, Clone)]
pub struct TargetModel<'a> {
pub output_name: Cow<'a, str>,
pub sources: SourceSet<'a>,
pub extra_args: Vec<Argument<'a>>,
pub kind: TargetKind,
pub enabled_for_current_program_iteration: bool,
}