Struct cryptographic_message_syntax::asn1::rfc4210::PkiFreeText
source · pub struct PkiFreeText(/* private fields */);
Expand description
PKI free text.
PKIFreeText ::= SEQUENCE SIZE (1..MAX) OF UTF8String
Implementations§
source§impl PkiFreeText
impl PkiFreeText
pub fn take_opt_from<S: Source>( cons: &mut Constructed<'_, S> ) -> Result<Option<Self>, DecodeError<S::Error>>
pub fn take_from<S: Source>( cons: &mut Constructed<'_, S> ) -> Result<Self, DecodeError<S::Error>>
pub fn from_sequence<S: Source>( cons: &mut Constructed<'_, S> ) -> Result<Self, DecodeError<S::Error>>
pub fn encode_ref(&self) -> impl Values + '_
Trait Implementations§
source§impl Clone for PkiFreeText
impl Clone for PkiFreeText
source§fn clone(&self) -> PkiFreeText
fn clone(&self) -> PkiFreeText
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 Debug for PkiFreeText
impl Debug for PkiFreeText
source§impl PartialEq for PkiFreeText
impl PartialEq for PkiFreeText
source§fn eq(&self, other: &PkiFreeText) -> bool
fn eq(&self, other: &PkiFreeText) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for PkiFreeText
impl StructuralEq for PkiFreeText
impl StructuralPartialEq for PkiFreeText
Auto Trait Implementations§
impl RefUnwindSafe for PkiFreeText
impl Send for PkiFreeText
impl Sync for PkiFreeText
impl Unpin for PkiFreeText
impl UnwindSafe for PkiFreeText
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.