pub struct Vn {Show 21 fields
pub id: u64,
pub title: Option<String>,
pub original: Option<String>,
pub released: Option<String>,
pub languages: Vec<String>,
pub orig_lang: Vec<String>,
pub platforms: Vec<String>,
pub aliases: Option<String>,
pub length: Option<u8>,
pub description: Option<String>,
pub links: Option<VnLinks>,
pub image: Option<String>,
pub image_flagging: Option<VnImageFlags>,
pub anime: Vec<VnAnime>,
pub relations: Vec<VnRelation>,
pub tags: Vec<VnTag>,
pub popularity: f32,
pub rating: Option<f32>,
pub votecount: Option<u64>,
pub screens: Vec<VnScreen>,
pub staff: Vec<VnStaff>,
}Expand description
VN data representation. Returned by get vn
Fields§
§id: u64Unique identifier of VN.
title: Option<String>Main title.
Provided when basic flag is specified.
original: Option<String>Title in original language.
Optionally provided when basic flag is specified.
released: Option<String>Date of the first release.
Optionally provided when basic flag is specified.
languages: Vec<String>Languages in which VN is available.
Provided when basic flag is specified.
Can be empty array.
orig_lang: Vec<String>Languages of the first release.
Optionally provided when basic flag is specified.
Can be empty array.
platforms: Vec<String>Platforms on which VN is available.
Optionally provided when basic flag is specified.
Can be empty array.
aliases: Option<String>Aliases, separated by newline.
Provided when details flag is specified.
Can be None.
length: Option<u8>Length of the VN. Between 1-5.
Provided when details flag is specified.
Can be None.
description: Option<String>Description of the VN.
Provided when details flag is specified.
Can be None.
links: Option<VnLinks>Links related to the VN.
Provided when details flag is specified.
image: Option<String>HTTP link to VN image.
Provided when details flag is specified.
Can be None.
image_flagging: Option<VnImageFlags>Flags of the image
anime: Vec<VnAnime>List of anime related to the VN.
Provided when anime flag is specified.
relations: Vec<VnRelation>List of related VNs.
Provided when relations flag is specified.
List of VN’s tags
Provided when tags flag is specified.
popularity: f32Popularity from 0 to 100.
Provided when stats flag is specified.
rating: Option<f32>VN’s rating from 1 to 10.
Provided when stats flag is specified.
votecount: Option<u64>Number of votes
Provided when stats flag is specified.
screens: Vec<VnScreen>List of screenshots
Provided when screens flag is specified.
staff: Vec<VnStaff>List of Staff members.
Provided when staff flag is specified.