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
caption: Option<Box<FigureCaption>>
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§
Source§impl Clone for FigureSimple
impl Clone for FigureSimple
Source§fn clone(&self) -> FigureSimple
fn clone(&self) -> FigureSimple
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FigureSimple
impl Debug for FigureSimple
Source§impl Default for FigureSimple
impl Default for FigureSimple
Source§impl<'de> Deserialize<'de> for FigureSimplewhere
FigureSimple: Default,
impl<'de> Deserialize<'de> for FigureSimplewhere
FigureSimple: Default,
Source§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 Freeze for FigureSimple
impl RefUnwindSafe for FigureSimple
impl Send for FigureSimple
impl Sync for FigureSimple
impl Unpin for FigureSimple
impl UnwindSafe for FigureSimple
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more