pub struct Staff {
pub id: Option<String>,
pub aid: Option<u32>,
pub ismain: Option<bool>,
pub name: Option<String>,
pub original: Option<String>,
pub lang: Option<Language>,
pub gender: Option<StaffGender>,
pub description: Option<String>,
pub extlinks: Option<Vec<ExtLink>>,
pub aliases: Option<Vec<StaffAlias>>,
}Fields§
§id: Option<String>Vndbid
aid: Option<u32>Alias id
ismain: Option<bool>Whether the ‘name’ and ‘original’ fields represent the main name for this staff entry
name: Option<String>Possibly romanized name
original: Option<String>Name in original script
lang: Option<Language>Staff’s primary language
gender: Option<StaffGender>Male or Female
description: Option<String>May contain formatting codes
extlinks: Option<Vec<ExtLink>>Links to external websites
aliases: Option<Vec<StaffAlias>>List of names used by this person
Trait Implementations§
source§impl<'de> Deserialize<'de> for Staff
impl<'de> Deserialize<'de> for Staff
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Staff
impl RefUnwindSafe for Staff
impl Send for Staff
impl Sync for Staff
impl Unpin for Staff
impl UnwindSafe for Staff
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more