[][src]Struct centerdevice::client::search::Document

pub struct Document {
    pub author: ID,
    pub comments: usize,
    pub document_date: DateTime<FixedOffset>,
    pub extended_metadata: Value,
    pub filename: String,
    pub hash: String,
    pub id: ID,
    pub mime_type: Mime,
    pub owner: ID,
    pub pages: Option<usize>,
    pub representations: Representations,
    pub score: Option<f64>,
    pub title: String,
    pub upload_date: DateTime<FixedOffset>,
    pub uploader: ID,
    pub version: usize,
    pub version_date: DateTime<FixedOffset>,
}

Fields

author: IDcomments: usizedocument_date: DateTime<FixedOffset>extended_metadata: Valuefilename: Stringhash: Stringid: IDmime_type: Mimeowner: IDpages: Option<usize>representations: Representationsscore: Option<f64>title: Stringupload_date: DateTime<FixedOffset>uploader: IDversion: usizeversion_date: DateTime<FixedOffset>

Trait Implementations

impl Debug for Document[src]

impl Serialize for Document[src]

impl<'de> Deserialize<'de> for Document[src]

Auto Trait Implementations

impl Send for Document

impl Sync for Document

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

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

type Err = <U as TryFrom<T>>::Err

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.