Vocabulary fixes

This commit is contained in:
timurgordon
2025-05-05 11:32:09 +03:00
parent a7c0772d9b
commit 2760f00a30
27 changed files with 588 additions and 329 deletions

View File

@@ -5,7 +5,7 @@ use uuid::Uuid;
/// Asset types representing different categories of digital assets
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)]
pub enum AssetType {
NFT,
Artwork,
Token,
RealEstate,
Commodity,
@@ -18,7 +18,7 @@ pub enum AssetType {
impl AssetType {
pub fn as_str(&self) -> &str {
match self {
AssetType::NFT => "NFT",
AssetType::Artwork => "Artwork",
AssetType::Token => "Token",
AssetType::RealEstate => "Real Estate",
AssetType::Commodity => "Commodity",