create_vue_business_rs/lib.rs
1pub mod dialoguers;
2pub mod render;
3pub mod utils;
4
5#[derive(Debug)]
6pub struct ConfiguresSelected {
7 pub target_tag: String,
8}
9
10impl ConfiguresSelected {
11 pub fn new() -> Self {
12 Self {
13 target_tag: String::from("web"),
14 }
15 }
16
17 pub fn set_target_tag(&mut self, value: &str) {
18 self.target_tag = value.to_string();
19 }
20}
21
22impl Default for ConfiguresSelected {
23 fn default() -> Self {
24 Self::new()
25 }
26}