Function switchboard_on_demand::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.