Skip to main content

decode_deck_code

Function decode_deck_code 

Source
pub fn decode_deck_code(deck_code: &str) -> Result<Deck, DeckCodeError>
Expand description

Convert a Hearthstone deck code into a Deck struct

ยงErrors

Will return Err if the version of the deck code is not supported or if the deck code is invalid.