pub struct Ia5String(pub String);
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
][alloc::string::String
].
Tuple Fields§
§0: String
Trait Implementations§
source§impl BERDecodable for Ia5String
impl BERDecodable for Ia5String
source§fn decode_ber(reader: BERReader<'_, '_>) -> ASN1Result<Self>
fn decode_ber(reader: BERReader<'_, '_>) -> ASN1Result<Self>
source§impl Ord for Ia5String
impl Ord for Ia5String
source§impl PartialEq for Ia5String
impl PartialEq for Ia5String
source§impl PartialOrd for Ia5String
impl PartialOrd 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 moreimpl Eq for Ia5String
impl StructuralEq for Ia5String
impl StructuralPartialEq for Ia5String
Auto Trait Implementations§
impl RefUnwindSafe for Ia5String
impl Send for Ia5String
impl Sync for Ia5String
impl Unpin for Ia5String
impl UnwindSafe for Ia5String
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more