Struct stencila_schema::CollectionSimple [−][src]
pub struct CollectionSimple {
pub type_: CollectionSimple_,
pub parts: Vec<CreativeWorkTypes>,
pub content: Option<Box<CreativeWorkContent>>,
pub id: Option<Box<String>>,
pub title: Option<Box<CreativeWorkTitle>>,
}
Expand description
A collection of CreativeWorks or other artifacts.
Fields
type_: CollectionSimple_
The name of this type
parts: Vec<CreativeWorkTypes>
Elements of the collection which can be a variety of different elements, such as Articles, Datatables, Tables and more.
content: Option<Box<CreativeWorkContent>>
The structured content of this creative work c.f. property text
.
id: Option<Box<String>>
The identifier for this item.
title: Option<Box<CreativeWorkTitle>>
The title of the creative work.
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 CollectionSimple
impl Send for CollectionSimple
impl Sync for CollectionSimple
impl Unpin for CollectionSimple
impl UnwindSafe for CollectionSimple
Blanket Implementations
Mutably borrows from an owned value. Read more