Struct stencila_schema::Figure [−][src]
pub struct Figure {}Show fields
pub type_: String, pub about: Option<Vec<Thing>>, pub alternate_names: Option<Vec<String>>, pub authors: Option<Vec<FigureAuthors>>, pub caption: Option<FigureCaption>, pub comments: Option<Vec<Comment>>, pub content: Option<Vec<Node>>, pub date_accepted: Option<Date>, pub date_created: Option<Date>, pub date_modified: Option<Date>, pub date_published: Option<Date>, pub date_received: Option<Date>, pub description: Option<FigureDescription>, pub editors: Option<Vec<Person>>, pub funded_by: Option<Vec<FigureFundedBy>>, pub funders: Option<Vec<FigureFunders>>, pub genre: Option<Vec<String>>, pub id: Option<String>, pub identifiers: Option<Vec<FigureIdentifiers>>, pub images: Option<Vec<FigureImages>>, pub is_part_of: Option<Arc<CreativeWorkTypes>>, pub keywords: Option<Vec<String>>, pub label: Option<String>, pub licenses: Option<Vec<FigureLicenses>>, pub maintainers: Option<Vec<FigureMaintainers>>, pub meta: Option<HashMap<String, Value>>, pub name: Option<String>, pub parts: Option<Vec<CreativeWorkTypes>>, pub publisher: Option<FigurePublisher>, pub references: Option<Vec<FigureReferences>>, pub text: Option<String>, pub title: Option<FigureTitle>, pub url: Option<String>, pub version: Option<FigureVersion>,
Expand description
Encapsulates one or more images, videos, tables, etc, and provides captions and labels for them.
Fields
type_: String
The name of this type
about: Option<Vec<Thing>>
The subject matter of the content.
alternate_names: Option<Vec<String>>
Alternate names (aliases) for the item.
The authors of this creative work.
A caption for the figure.
comments: Option<Vec<Comment>>
Comments about this creative work.
content: Option<Vec<Node>>
The structured content of this creative work c.f. property text
.
date_accepted: Option<Date>
Date/time of acceptance.
date_created: Option<Date>
Date/time of creation.
date_modified: Option<Date>
Date/time of most recent modification.
date_published: Option<Date>
Date of first publication.
date_received: Option<Date>
Date/time that work was received.
description: Option<FigureDescription>
A description of the item.
editors: Option<Vec<Person>>
People who edited the CreativeWork
.
funded_by: Option<Vec<FigureFundedBy>>
Grants that funded the CreativeWork
; reverse of fundedItems
.
funders: Option<Vec<FigureFunders>>
People or organizations that funded the CreativeWork
.
genre: Option<Vec<String>>
Genre of the creative work, broadcast channel or group.
id: Option<String>
The identifier for this item.
identifiers: Option<Vec<FigureIdentifiers>>
Any kind of identifier for any kind of Thing.
images: Option<Vec<FigureImages>>
Images of the item.
is_part_of: Option<Arc<CreativeWorkTypes>>
An item or other CreativeWork that this CreativeWork is a part of.
keywords: Option<Vec<String>>
Keywords or tags used to describe this content. Multiple entries in a keywords list are typically delimited by commas.
label: Option<String>
A short label for the figure.
licenses: Option<Vec<FigureLicenses>>
License documents that applies to this content, typically indicated by URL.
maintainers: Option<Vec<FigureMaintainers>>
The people or organizations who maintain this CreativeWork.
meta: Option<HashMap<String, Value>>
Metadata associated with this item.
name: Option<String>
The name of the item.
parts: Option<Vec<CreativeWorkTypes>>
Elements of the collection which can be a variety of different elements, such as Articles, Datatables, Tables and more.
publisher: Option<FigurePublisher>
A publisher of the CreativeWork.
references: Option<Vec<FigureReferences>>
References to other creative works, such as another publication, web page, scholarly article, etc.
text: Option<String>
The textual content of this creative work.
title: Option<FigureTitle>
The title of the creative work.
url: Option<String>
The URL of the item.
version: Option<FigureVersion>
The version of the creative work.
Implementations
impl Figure
[src]
impl Figure
[src]pub fn deserialize_type<'de, D>(d: D) -> Result<String, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
Trait Implementations
impl<'de> Deserialize<'de> for Figure where
Figure: Default,
[src]
impl<'de> Deserialize<'de> for Figure where
Figure: Default,
[src]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
Auto Trait Implementations
impl RefUnwindSafe for Figure
impl Send for Figure
impl Sync for Figure
impl Unpin for Figure
impl UnwindSafe for Figure
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,