pub struct Ia5String(/* private fields */);
Expand description
ASN.1 IA5String
type.
§Examples
You can create a Ia5String
from a literal string with Ia5String::try_from
:
use rcgen::Ia5String;
let hello = Ia5String::try_from("hello").unwrap();
§Supported characters
Supports the International Alphabet No. 5 (IA5) character encoding, i.e. the 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§
impl Eq for Ia5String
impl StructuralPartialEq for Ia5String
Auto Trait Implementations§
impl Freeze for Ia5String
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