pub struct CacheItem {
pub name: String,
pub image_hash: String,
pub image_link: String,
pub metadata_hash: String,
pub metadata_link: String,
pub on_chain: bool,
pub animation_hash: Option<String>,
pub animation_link: Option<String>,
}Fields§
§name: String§image_hash: String§image_link: String§metadata_hash: String§metadata_link: String§on_chain: bool§animation_hash: Option<String>§animation_link: Option<String>Implementations§
source§impl CacheItem
impl CacheItem
pub fn to_config_line(&self) -> Option<ConfigLine>
Trait Implementations§
source§impl<'de> Deserialize<'de> for CacheItem
impl<'de> Deserialize<'de> for CacheItem
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more