[][src]Struct moe::types::Doc

pub struct Doc {
    pub from: f64,
    pub to: f64,
    pub at: f64,
    pub similarity: f64,
    pub anilist_id: u32,
    pub mal_id: Option<u32>,
    pub is_adult: bool,
    pub title_native: Option<String>,
    pub title_chinese: Option<String>,
    pub title_english: Option<String>,
    pub title_romaji: String,
    pub synonyms: Vec<String>,
    pub synonyms_chinese: Vec<String>,
    pub filename: String,
    pub tokenthumb: String,
}

Fields

from: f64to: f64at: f64similarity: f64anilist_id: u32mal_id: Option<u32>is_adult: booltitle_native: Option<String>title_chinese: Option<String>title_english: Option<String>title_romaji: Stringsynonyms: Vec<String>synonyms_chinese: Vec<String>filename: Stringtokenthumb: String

Trait Implementations

impl Debug for Doc[src]

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

Auto Trait Implementations

impl Unpin for Doc

impl Sync for Doc

impl Send for Doc

impl UnwindSafe for Doc

impl RefUnwindSafe for Doc

Blanket Implementations

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

impl<T, U> Into<U> for T where
    U: From<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> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<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