pub type Ia5String = RestrictedString<Ia5CharSet>;
Aliased Type§
struct Ia5String { /* private fields */ }
Implementations§
Source§impl Ia5String
impl Ia5String
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<GeneralStringAsn1> for Ia5String
impl From<GeneralStringAsn1> for Ia5String
Source§fn from(wrapper: GeneralStringAsn1) -> Ia5String
fn from(wrapper: GeneralStringAsn1) -> Ia5String
Converts to this type from the input type.
Source§impl From<Ia5StringAsn1> for Ia5String
impl From<Ia5StringAsn1> for Ia5String
Source§fn from(wrapper: Ia5StringAsn1) -> Ia5String
fn from(wrapper: Ia5StringAsn1) -> Ia5String
Converts to this type from the input type.