pub struct Ia5String { /* private fields */ }
Available on crate feature
alloc
only.Expand description
ASN.1 IA5String
type.
Supports the International Alphabet No. 5 (IA5) character encoding, i.e. the lower 128 characters of the ASCII alphabet. (Note: IA5 is now technically known as the International Reference Alphabet or IRA as specified in the ITU-T’s T.50 recommendation).
For UTF-8, use String
.
Implementations§
Trait Implementations§
source§impl<'__der> DecodeValue<'__der> for Ia5String
impl<'__der> DecodeValue<'__der> for Ia5String
source§impl EncodeValue for Ia5String
impl EncodeValue for Ia5String
source§impl<'a> From<Ia5StringRef<'a>> for Ia5String
impl<'a> From<Ia5StringRef<'a>> for Ia5String
source§fn from(international_string: Ia5StringRef<'a>) -> Ia5String
fn from(international_string: Ia5StringRef<'a>) -> Ia5String
Converts to this type from the input type.
source§impl Ord for Ia5String
impl Ord for Ia5String
source§impl OwnedToRef for Ia5String
impl OwnedToRef for Ia5String
§type Borrowed<'a> = Ia5StringRef<'a>
type Borrowed<'a> = Ia5StringRef<'a>
The resulting type referencing back to Self
source§fn owned_to_ref(&self) -> Self::Borrowed<'_>
fn owned_to_ref(&self) -> Self::Borrowed<'_>
Creates a new object referencing back to the self for storage
source§impl PartialEq<Ia5String> for Ia5String
impl PartialEq<Ia5String> for Ia5String
source§impl PartialOrd<Ia5String> for Ia5String
impl PartialOrd<Ia5String> for Ia5String
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more