[][src]Function artifact_serde::de::decode

pub fn decode(adc: &str) -> Result<DeserializedDeck, String>

Takes in an Artifact Deck Code as a &str and returns a DeserializedDeck matching the structure refer to deck_decoder.php for reference implementation and expected structure here

Example

artifact_serde::de::decode("ADCJWkTZX05uwGDCRV4XQGy3QGLmqUBg4GQJgGLGgO7AaABR3JlZW4vQmxhY2sgRXhhbXBsZQ__");