pub type NumericString = RestrictedString<NumericCharSet>;
Aliased Type§
struct NumericString { /* private fields */ }
Implementations§
Source§impl NumericString
impl NumericString
pub fn from_string(s: String) -> Result<Self, CharSetError>
pub fn as_utf8(&self) -> &str
pub fn into_string(self) -> String
Trait Implementations§
Source§impl From<NumericStringAsn1> for NumericString
impl From<NumericStringAsn1> for NumericString
Source§fn from(wrapper: NumericStringAsn1) -> NumericString
fn from(wrapper: NumericStringAsn1) -> NumericString
Converts to this type from the input type.