pub struct Skill {
pub id: u32,
pub name: String,
}
Expand description
An EVTC skill definition.
Fields§
§id: u32
Id of the skill.
name: String
Name of the skill.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Skill
impl<'de> Deserialize<'de> for Skill
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
Source§impl Ord for Skill
impl Ord for Skill
Source§impl Parse for Skill
impl Parse for Skill
Source§type Error = ParseError
type Error = ParseError
Associated error which can happen during parsing.
Source§fn parse(input: &mut impl Read) -> Result<Self, Self::Error>
fn parse(input: &mut impl Read) -> Result<Self, Self::Error>
Parses a value of this type from the input.
Source§fn parse_multi<T>(input: &mut impl Read, count: usize) -> Result<T, Self::Error>where
T: FromIterator<Self>,
fn parse_multi<T>(input: &mut impl Read, count: usize) -> Result<T, Self::Error>where
T: FromIterator<Self>,
Parses multiple values of this type from the input into a
Vec
.Source§impl PartialOrd for Skill
impl PartialOrd for Skill
impl Eq for Skill
impl StructuralPartialEq for Skill
Auto Trait Implementations§
impl Freeze for Skill
impl RefUnwindSafe for Skill
impl Send for Skill
impl Sync for Skill
impl Unpin for Skill
impl UnwindSafe for Skill
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.