Function switchboard_solana::prelude::parse_optional_pubkey
source · pub fn parse_optional_pubkey(var: &str) -> Option<Pubkey>
Expand description
Parse a string into an optional Pubkey. If the string is empty, return None.