Skip to main content
Version: Next

Struct Rarity


_10
pub struct Rarity {
_10
_10
pub let score: UFix64?
_10
_10
pub let max: UFix64?
_10
_10
pub let description: String?
_10
}

View to expose rarity information for a single rarity Note that a rarity needs to have either score or description but it can have both

Initializer


_10
init(score: UFix64?, max: UFix64?, description: String?)