Add an initial implementation of PlainLink.

This commit is contained in:
Tom Alexander
2023-07-13 19:09:44 -04:00
parent 59f061ecca
commit 5f4e240af0
4 changed files with 83 additions and 4 deletions

View File

@@ -76,7 +76,8 @@ pub struct RadioLink<'s> {
#[derive(Debug, PartialEq)]
pub struct PlainLink<'s> {
pub source: &'s str,
pub children: Vec<Object<'s>>,
pub link_type: &'s str,
pub path: &'s str,
}
impl<'s> Source<'s> for Object<'s> {