Enum stencila_schema::ThingDescription [−][src]
pub enum ThingDescription {
VecBlockContent(Vec<BlockContent>),
VecInlineContent(Vec<InlineContent>),
String(String),
}
Expand description
Types permitted for the description
property of a Thing
node.
Variants
VecBlockContent(Vec<BlockContent>)
Tuple Fields of VecBlockContent
0: Vec<BlockContent>
VecInlineContent(Vec<InlineContent>)
Tuple Fields of VecInlineContent
0: Vec<InlineContent>
String(String)
Tuple Fields of String
0: String
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for ThingDescription
impl Send for ThingDescription
impl Sync for ThingDescription
impl Unpin for ThingDescription
impl UnwindSafe for ThingDescription
Blanket Implementations
Mutably borrows from an owned value. Read more