Enum cw20::EmbeddedLogo [−][src]
Expand description
This is used to store the logo on the blockchain in an accepted format. Enforce maximum size of 5KB on all variants.
Variants
Svg(Binary)
Tuple Fields
0: BinaryStore the Logo as an SVG file. The content must conform to the spec at https://en.wikipedia.org/wiki/Scalable_Vector_Graphics (The contract should do some light-weight sanity-check validation)
Png(Binary)
Tuple Fields
0: BinaryStore the Logo as a PNG file. This will likely only support up to 64x64 or so within the 5KB limit.
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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for EmbeddedLogo
impl Send for EmbeddedLogo
impl Sync for EmbeddedLogo
impl Unpin for EmbeddedLogo
impl UnwindSafe for EmbeddedLogo
Blanket Implementations
Mutably borrows from an owned value. Read more
