pub struct Ia5String(/* private fields */);展开描述
ASN.1 IA5String 类型。
§示例
你可以使用 Ia5String::try_from 从 字面量字符串 创建 Ia5String:
use rcgen::string::Ia5String;
let hello = Ia5String::try_from("hello").unwrap();§支持的字符
支持 国际字母表第 5 号(IA5) 字符编码,即 ASCII 字母表的 128 个字符。(注:IA5 在技术上现在称为国际参考字母表(IRA),见 ITU-T 的 T.50 建议书。)
For UTF-8, use String.
实现§
Trait 实现§
impl Eq for Ia5String
impl StructuralPartialEq for Ia5String
自动 Trait 实现§
impl Freeze for Ia5String
impl RefUnwindSafe for Ia5String
impl Send for Ia5String
impl Sync for Ia5String
impl Unpin for Ia5String
impl UnsafeUnpin for Ia5String
impl UnwindSafe for Ia5String
Blanket 实现§
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. 更多信息