pub struct Post {
Show 18 fields pub identifier: Option<String>, pub headline: Option<String>, pub abstract: Option<String>, pub description: Option<String>, pub in_language: Option<String>, pub licence: Option<String>, pub url: Option<String>, pub date_published: Option<DateTime<Utc>>, pub date_modified: Option<DateTime<Utc>>, pub contributor: Vec<String>, pub publisher: Option<String>, pub genre: Vec<String>, pub creator: Vec<String>, pub media: Vec<Reference<Media>>, pub feeds: Vec<Reference<Feed>>, pub transcript: Option<String>, pub nlp: Value, pub other: Map<String, Value>,
}

Fields

identifier: Option<String>headline: Option<String>abstract: Option<String>description: Option<String>in_language: Option<String>licence: Option<String>url: Option<String>date_published: Option<DateTime<Utc>>date_modified: Option<DateTime<Utc>>contributor: Vec<String>publisher: Option<String>genre: Vec<String>creator: Vec<String>media: Vec<Reference<Media>>feeds: Vec<Reference<Feed>>transcript: Option<String>nlp: Valueother: Map<String, Value>

Trait Implementations

source

impl Clone for Post

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
source

impl Debug for Post

Formats the value using the given formatter. Read more
source

impl Default for Post

Returns the “default value” for a type. Read more
source

impl<'de> Deserialize<'de> for Post

Deserialize this value from the given Serde deserializer. Read more
source

impl ElasticMapping for Post

source

impl JsonSchema for Post

The name of the generated JSON Schema. Read more
Generates a JSON Schema for this type. Read more
Whether JSON Schemas generated for this type should be re-used where possible using the $ref keyword. Read more
source

impl Mappable for Post

source

impl Resolvable for Post

Resolve all reference with the passed resolver.
Extract all loaded records from resolved references, resetting them to their id state.
source

impl Serialize for Post

Serialize this value into the given Serde serializer. Read more
source

impl TypedValue for Post

A string to uniquely identify this record type.
Get a human-readable label for this record. Read more
Get the guid string for this record type and an id string.

Auto Trait Implementations

impl RefUnwindSafe for Post

impl Send for Post

impl Sync for Post

impl Unpin for Post

impl UnwindSafe for Post

Blanket Implementations

source

impl<T> Any for Twhere
    T: 'static + ?Sized,

Gets the TypeId of self. Read more
source

impl<T> Borrow<T> for Twhere
    T: ?Sized,

Immutably borrows from an owned value. Read more
source

impl<T> BorrowMut<T> for Twhere
    T: ?Sized,

Mutably borrows from an owned value. Read more
source

impl<T> DynClone for Twhere
    T: Clone,

source

impl<T> From<T> for T

Returns the argument unchanged.

source

impl<T, U> Into<U> for Twhere
    U: From<T>,

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

impl<T> Same<T> for T

Should always be Self
source

impl<T> ToOwned for Twhere
    T: Clone,

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
source

impl<T, U> TryFrom<U> for Twhere
    U: Into<T>,

The type returned in the event of a conversion error.
Performs the conversion.
source

impl<T, U> TryInto<U> for Twhere
    U: TryFrom<T>,

The type returned in the event of a conversion error.
Performs the conversion.
source

impl<T> DeserializeOwned for Twhere
    T: for<'de> Deserialize<'de>,