Struct der::asn1::VideotexStringRef
source · pub struct VideotexStringRef<'a> { /* private fields */ }
Expand description
ASN.1 VideotexString
type.
Supports a subset the ASCII character set (described below).
For UTF-8, use Utf8StringRef
instead.
For the full ASCII character set, use
Ia5StringRef
.
This is a zero-copy reference type which borrows from the input data.
Supported characters
For the practical purposes VideotexString is treated as IA5string, disallowing non-ASCII chars.
Implementations§
Trait Implementations§
source§impl AsRef<[u8]> for VideotexStringRef<'_>
impl AsRef<[u8]> for VideotexStringRef<'_>
source§impl AsRef<str> for VideotexStringRef<'_>
impl AsRef<str> for VideotexStringRef<'_>
source§impl<'a> Clone for VideotexStringRef<'a>
impl<'a> Clone for VideotexStringRef<'a>
source§fn clone(&self) -> VideotexStringRef<'a>
fn clone(&self) -> VideotexStringRef<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for VideotexStringRef<'a>
impl<'a> Debug for VideotexStringRef<'a>
source§impl<'a> DecodeValue<'a> for VideotexStringRef<'a>
impl<'a> DecodeValue<'a> for VideotexStringRef<'a>
source§impl<'a> Deref for VideotexStringRef<'a>
impl<'a> Deref for VideotexStringRef<'a>
source§impl<'a> Display for VideotexStringRef<'a>
impl<'a> Display for VideotexStringRef<'a>
source§impl<'a> EncodeValue for VideotexStringRef<'a>
impl<'a> EncodeValue for VideotexStringRef<'a>
source§impl<'a> From<&VideotexStringRef<'a>> for VideotexStringRef<'a>
impl<'a> From<&VideotexStringRef<'a>> for VideotexStringRef<'a>
source§fn from(value: &VideotexStringRef<'a>) -> VideotexStringRef<'a>
fn from(value: &VideotexStringRef<'a>) -> VideotexStringRef<'a>
Converts to this type from the input type.
source§impl<'a> From<VideotexStringRef<'a>> for &'a [u8]
impl<'a> From<VideotexStringRef<'a>> for &'a [u8]
source§impl<'a> From<VideotexStringRef<'a>> for AnyRef<'a>
impl<'a> From<VideotexStringRef<'a>> for AnyRef<'a>
source§fn from(printable_string: VideotexStringRef<'a>) -> AnyRef<'a>
fn from(printable_string: VideotexStringRef<'a>) -> AnyRef<'a>
Converts to this type from the input type.
source§impl<'a> Ord for VideotexStringRef<'a>
impl<'a> Ord for VideotexStringRef<'a>
source§fn cmp(&self, other: &VideotexStringRef<'a>) -> Ordering
fn cmp(&self, other: &VideotexStringRef<'a>) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<'a> PartialEq<VideotexStringRef<'a>> for VideotexStringRef<'a>
impl<'a> PartialEq<VideotexStringRef<'a>> for VideotexStringRef<'a>
source§fn eq(&self, other: &VideotexStringRef<'a>) -> bool
fn eq(&self, other: &VideotexStringRef<'a>) -> bool
source§impl<'a> PartialOrd<VideotexStringRef<'a>> for VideotexStringRef<'a>
impl<'a> PartialOrd<VideotexStringRef<'a>> for VideotexStringRef<'a>
source§fn partial_cmp(&self, other: &VideotexStringRef<'a>) -> Option<Ordering>
fn partial_cmp(&self, other: &VideotexStringRef<'a>) -> Option<Ordering>
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