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§
Source§impl Clone for CollectionSimple
impl Clone for CollectionSimple
Source§fn clone(&self) -> CollectionSimple
fn clone(&self) -> CollectionSimple
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 CollectionSimple
impl Debug for CollectionSimple
Source§impl Default for CollectionSimple
impl Default for CollectionSimple
Source§impl<'de> Deserialize<'de> for CollectionSimplewhere
CollectionSimple: Default,
impl<'de> Deserialize<'de> for CollectionSimplewhere
CollectionSimple: 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 CollectionSimple
impl RefUnwindSafe for CollectionSimple
impl Send for CollectionSimple
impl Sync for CollectionSimple
impl Unpin for CollectionSimple
impl UnwindSafe for CollectionSimple
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