rusty_cli/meta_data.rs
1
2#[derive(Clone)]
3pub struct ApplicationMetaData {
4 /// The title of the application
5 pub title: String,
6 /// The description of the application
7 pub description: String
8}
9
10impl ApplicationMetaData {
11
12 /// Creates new project meta data that is used in the project
13 /// globally for many different things
14 pub fn new(title: String, description: String) -> Self {
15 ApplicationMetaData {
16 title,
17 description
18 }
19 }
20}