noosphere_into/transcluder/transclude.rs
1#[derive(Clone, Debug)]
2pub struct TextTransclude {
3 pub title: Option<String>,
4 pub excerpt: Option<String>,
5 pub link_text: String,
6 pub href: String,
7}
8
9/// The set of possible transcludes that may need to be rendered to a target
10/// format. At this time, only text transcludes are supported.
11#[derive(Clone, Debug)]
12pub enum Transclude {
13 // TODO
14 // Rich,
15 // Interactive,
16 // Bitmap,
17 Text(TextTransclude),
18}