pub fn from_listing_currencies(currencies: ListingCurrencies, key_price: i32) -> Self {
        let keys = currencies.keys;
        let metal = currencies.metal;
        
        Self {
            keys: keys as i32,
            metal: ((keys % 1.0) * key_price as f32).round() as i32 + metal
        }
    }
/// Converts from `ListingCurrencies` using the given key price (represented as weapons).
Converts from `ListingCurrencies` using the given key price (represented as weapons).
Converts from ` ListingCurrencies ` using the given key price ( represented as weapons ) .
pub fn from_listing_currencies(currencies: ListingCurrencies, key_price: i32) -> Self {
        let keys = currencies.keys;
        let metal = currencies.metal;
        Self {
            keys: keys as i32,
            metal: ((keys % 1.0) * key_price as f32).round() as i32 + metal
        }
    }
pub fn from_listing_currencies ( currencies : ListingCurrencies , key_price : i32 ) -> Self { let keys = currencies . keys ; let metal = currencies . metal ; Self { keys : keys as i32 , metal : ( ( keys % 1.0 ) * key_price as f32 ) . round ( ) as i32 + metal } }
Converts from `ListingCurrencies` using the given key price (represented as weapons).
Converts from ` ListingCurrencies ` using the given key price ( represented as weapons ) .
currencies
ListingCurrencies
key_price
i32
currencies
ListingCurrencies
key_price
i32