Struct stencila_schema::Include [−][src]
pub struct Include { pub type_: Include_, pub source: String, pub content: Option<Vec<BlockContent>>, pub format: Option<Box<String>>, pub id: Option<Box<String>>, }
Expand description
A directive to include content from an external source (e.g. file, URL) or content.
Fields
type_: Include_
The name of this type
source: String
The source of the content, a URL or file path, or the content itself.
content: Option<Vec<BlockContent>>
The content to be included.
format: Option<Box<String>>
Media type, typically expressed using a MIME format, of the source content.
id: Option<Box<String>>
The identifier for this item.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Include
impl UnwindSafe for Include
Blanket Implementations
Mutably borrows from an owned value. Read more