Function validate_deck_id
Source pub fn validate_deck_id(deck_id: &str) -> Result<()>
Expand description
Validates a deck ID according to the format specification.
The deck ID should be a base64 encoded string that decodes to “Deck:”.
§Arguments
deck_id - The deck ID to validate
§Returns
A Result containing either () if the deck ID is valid, or a DeckIdError if it’s invalid.