1 2 3 4 5 6 7 8 9 10 11 12 13 14
use super::split_args; #[derive(Debug, Clone)] pub struct NoteData { pub tags: Vec<String>, } impl NoteData { pub fn parse_args(raw: &str) -> Self { NoteData { tags: split_args(raw).tags, } } }