Clean up camelCase and snake_case in frontend code

This commit is contained in:
Keavon Chambers
2022-08-23 13:36:27 -07:00
parent 71f12db1e6
commit 1a90a4db86
30 changed files with 317 additions and 162 deletions
@@ -4,7 +4,9 @@ use std::collections::HashMap;
/// A font type (storing font family and font style and an optional preview URL)
#[derive(Debug, Clone, Serialize, Deserialize, Hash, PartialEq, Eq)]
pub struct Font {
#[serde(rename = "fontFamily")]
pub font_family: String,
#[serde(rename = "fontStyle")]
pub font_style: String,
}
impl Font {