[][src]Struct vndb::protocol::message::response::results::VnTag

pub struct VnTag {
    pub id: u64,
    pub score: f32,
    pub spoiler: u8,
}

VN's tag.

Fields

id: u64

ID.

score: f32

Score from 0 to 3.

Note that VNDB's scores are float numbers.

spoiler: u8

Spoiler severity.

Possible values:

  • 0 - None;
  • 1 - Minor;
  • 2 - Major;

Trait Implementations

impl Debug for VnTag[src]

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

impl Serialize for VnTag[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.