[][src]Struct vndb_rs::common::get::vn::GetVnResponse

pub struct GetVnResponse {
    pub title: Option<String>,
    pub original_title: Option<String>,
    pub released: Option<String>,
    pub languages: Option<Vec<String>>,
    pub original_language: Option<Vec<String>>,
    pub platforms: Option<Vec<String>>,
    pub aliases: Option<String>,
    pub length: Option<VnLength>,
    pub description: Option<String>,
    pub links: Option<Links>,
    pub image: Option<String>,
    pub image_nsfw: Option<bool>,
    pub anime: Option<Vec<Anime>>,
    pub relations: Option<Vec<Relations>>,
    pub tags: Option<Vec<(usize, f64, SpoilerLevel)>>,
    pub popularity: Option<f64>,
    pub rating: Option<f64>,
    pub votecount: Option<usize>,
    pub screens: Option<Vec<Screens>>,
    pub staff: Option<Vec<Staff>>,
    pub id: usize,
}

All fields returned by get vn method fields are either Some or None depending on GetFlag param passed to get function

Fields

title: Option<String>original_title: Option<String>released: Option<String>languages: Option<Vec<String>>original_language: Option<Vec<String>>platforms: Option<Vec<String>>aliases: Option<String>length: Option<VnLength>description: Option<String>links: Option<Links>image: Option<String>image_nsfw: Option<bool>anime: Option<Vec<Anime>>relations: Option<Vec<Relations>>tags: Option<Vec<(usize, f64, SpoilerLevel)>>popularity: Option<f64>rating: Option<f64>votecount: Option<usize>screens: Option<Vec<Screens>>staff: Option<Vec<Staff>>id: usize

Trait Implementations

impl Debug for GetVnResponse[src]

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

impl PartialEq<GetVnResponse> for GetVnResponse[src]

impl StructuralPartialEq for GetVnResponse[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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.