Enum cw20::Logo [−][src]
pub enum Logo {
Url(String),
Embedded(EmbeddedLogo),
}Expand description
This is used for uploading logo data, or setting it in InstantiateData
Variants
Url(String)
Tuple Fields
0: StringA reference to an externally hosted logo. Must be a valid HTTP or HTTPS URL.
Embedded(EmbeddedLogo)
Tuple Fields
0: EmbeddedLogoLogo content stored on the blockchain. Enforce maximum size of 5KB on all variants
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for Logo
impl UnwindSafe for Logo
Blanket Implementations
Mutably borrows from an owned value. Read more
