pub struct Trait {
pub id: Option<String>,
pub name: Option<String>,
pub aliases: Option<Vec<String>>,
pub description: Option<String>,
pub searchable: Option<bool>,
pub applicable: Option<bool>,
pub group_id: Option<String>,
pub group_name: Option<String>,
pub char_count: Option<u32>,
}Fields§
§id: Option<String>Vndbid
name: Option<String>Trait names are not necessarily self-describing So they should always be displayed together with their “group”
aliases: Option<Vec<String>>§description: Option<String>May contain formatting codes
searchable: Option<bool>§applicable: Option<bool>§group_id: Option<String>Vndbid
group_name: Option<String>§char_count: Option<u32>Integer number of characters this trait has been applied to including child traits
Trait Implementations§
source§impl<'de> Deserialize<'de> for Trait
impl<'de> Deserialize<'de> for Trait
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 Trait
impl RefUnwindSafe for Trait
impl Send for Trait
impl Sync for Trait
impl Unpin for Trait
impl UnwindSafe for Trait
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