version & fixed some clippy linting
This commit is contained in:
@@ -9,7 +9,7 @@ use crate::{
|
||||
Mutex,
|
||||
Arc,
|
||||
};
|
||||
#[derive(Debug, Deserialize, Serialize)]
|
||||
#[derive(Debug, Deserialize, Serialize, Clone)]
|
||||
pub struct Character
|
||||
{
|
||||
name: String,
|
||||
@@ -20,7 +20,6 @@ pub struct Character
|
||||
pronoun_deppos: String,
|
||||
pronoun_indpos: String,
|
||||
pronoun_reflex: String,
|
||||
animation: String,
|
||||
head: String,
|
||||
hair: String,
|
||||
torso: String,
|
||||
@@ -42,7 +41,6 @@ impl Character {
|
||||
"pronoun_deppos" => self.pronoun_deppos = value.to_string(),
|
||||
"pronoun_indpos" => self.pronoun_indpos = value.to_string(),
|
||||
"pronoun_reflex" => self.pronoun_reflex = value.to_string(),
|
||||
"animation" => self.animation = value.to_string(),
|
||||
"head" => self.head = value.to_string(),
|
||||
"hair" => self.hair = value.to_string(),
|
||||
"torso" => self.torso = value.to_string(),
|
||||
|
||||
Reference in New Issue
Block a user