[−][src]Crate artifact_serde
artifact_serde
This is a small crate to handle deseralizing and serializing Artifact Deck Codes.
See this link for reference implementation: link
Most structs in this crate will mimic the JSON structure provided by Valve, either by API or
base64 encoding.
Modules
de | |
ser |
Structs
Card | |
CardCard | |
CardSet | |
CardSetJson | |
Deck | |
HeroCard | |
Image | |
Reference | |
SetInfo | |
TranslatedText |
Functions
decode | 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 |