Struct der::asn1::PrintableString [−][src]
pub struct PrintableString<'a> { /* fields omitted */ }
Expand description
ASN.1 PrintableString
type.
Supports a subset the ASCII character set (desribed below).
For UTF-8, use Utf8String
instead. For the
full ASCII character set, use Ia5String
.
Supported characters
The following ASCII characters/ranges are supported:
A..Z
a..z
0..9
- “
\
(
)
+
,
-
.
/
:
=
?
Implementations
Create a new ASN.1 PrintableString
.
Borrow the string as bytes.
Trait Implementations
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl<'a> RefUnwindSafe for PrintableString<'a>
impl<'a> Send for PrintableString<'a>
impl<'a> Sync for PrintableString<'a>
impl<'a> Unpin for PrintableString<'a>
impl<'a> UnwindSafe for PrintableString<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more