Struct stencila_schema::FigureSimple [−][src]
pub struct FigureSimple {
pub type_: FigureSimple_,
pub caption: Option<Box<FigureCaption>>,
pub content: Option<Box<CreativeWorkContent>>,
pub id: Option<Box<String>>,
pub label: Option<Box<String>>,
pub parts: Option<Vec<CreativeWorkTypes>>,
pub title: Option<Box<CreativeWorkTitle>>,
}
Expand description
Encapsulates one or more images, videos, tables, etc, and provides captions and labels for them.
Fields
type_: FigureSimple_
The name of this type
A caption for the figure.
content: Option<Box<CreativeWorkContent>>
The structured content of this creative work c.f. property text
.
id: Option<Box<String>>
The identifier for this item.
label: Option<Box<String>>
A short label for the figure.
parts: Option<Vec<CreativeWorkTypes>>
Elements of the collection which can be a variety of different elements, such as Articles, Datatables, Tables and more.
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
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for FigureSimple
impl Send for FigureSimple
impl Sync for FigureSimple
impl Unpin for FigureSimple
impl UnwindSafe for FigureSimple
Blanket Implementations
Mutably borrows from an owned value. Read more