pub struct OpenGraphBook {
pub authors: Option<Vec<String>>,
pub isbn: Option<String>,
pub release_date: Option<DateTime<Utc>>,
pub tags: Option<Vec<String>>,
pub extra: Map<String, Value>,
}Fields§
The authors of the book.
isbn: Option<String>The International Standard Book Number of the book.
release_date: Option<DateTime<Utc>>The release date of the book.
Tags associated with the book.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for OpenGraphBook
impl Clone for OpenGraphBook
Source§impl Debug for OpenGraphBook
impl Debug for OpenGraphBook
Source§impl Default for OpenGraphBook
impl Default for OpenGraphBook
Source§impl<'de> Deserialize<'de> for OpenGraphBook
impl<'de> Deserialize<'de> for OpenGraphBook
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
Source§impl PartialEq for OpenGraphBook
impl PartialEq for OpenGraphBook
Source§impl Serialize for OpenGraphBook
impl Serialize for OpenGraphBook
impl StructuralPartialEq for OpenGraphBook
Auto Trait Implementations§
impl Freeze for OpenGraphBook
impl RefUnwindSafe for OpenGraphBook
impl Send for OpenGraphBook
impl Sync for OpenGraphBook
impl Unpin for OpenGraphBook
impl UnsafeUnpin for OpenGraphBook
impl UnwindSafe for OpenGraphBook
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