pub struct Profession {
pub id: i32,
pub skill_line_id: i32,
pub profession_enum_value: i32,
pub name: String,
}Expand description
1:1 port of Profession with name resolved from ProfessionEnumValue.
Fields§
§id: i32§skill_line_id: i32§profession_enum_value: i32§name: StringTrait Implementations§
Source§impl Clone for Profession
impl Clone for Profession
Source§fn clone(&self) -> Profession
fn clone(&self) -> Profession
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl CopyInsert for Profession
impl CopyInsert for Profession
Source§impl Debug for Profession
impl Debug for Profession
Source§impl Default for Profession
impl Default for Profession
Source§fn default() -> Profession
fn default() -> Profession
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Profession
impl<'de> Deserialize<'de> for Profession
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 Profession
impl RefUnwindSafe for Profession
impl Send for Profession
impl Sync for Profession
impl Unpin for Profession
impl UnsafeUnpin for Profession
impl UnwindSafe for Profession
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