Struct cms::revocation::RevocationInfoChoices
source · pub struct RevocationInfoChoices(pub SetOfVec<RevocationInfoChoice>);
Expand description
The RevocationInfoChoices
type is defined in RFC 5652 Section 10.2.1.
RevocationInfoChoices ::= SET OF RevocationInfoChoice
Tuple Fields§
§0: SetOfVec<RevocationInfoChoice>
Trait Implementations§
source§impl<'a> AsMut<SetOfVec<RevocationInfoChoice>> for RevocationInfoChoices
impl<'a> AsMut<SetOfVec<RevocationInfoChoice>> for RevocationInfoChoices
source§fn as_mut(&mut self) -> &mut SetOfVec<RevocationInfoChoice>
fn as_mut(&mut self) -> &mut SetOfVec<RevocationInfoChoice>
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl<'a> AsRef<SetOfVec<RevocationInfoChoice>> for RevocationInfoChoices
impl<'a> AsRef<SetOfVec<RevocationInfoChoice>> for RevocationInfoChoices
source§fn as_ref(&self) -> &SetOfVec<RevocationInfoChoice>
fn as_ref(&self) -> &SetOfVec<RevocationInfoChoice>
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for RevocationInfoChoices
impl Clone for RevocationInfoChoices
source§fn clone(&self) -> RevocationInfoChoices
fn clone(&self) -> RevocationInfoChoices
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 RevocationInfoChoices
impl Debug for RevocationInfoChoices
source§impl<'a> DecodeValue<'a> for RevocationInfoChoices
impl<'a> DecodeValue<'a> for RevocationInfoChoices
source§impl<'a> EncodeValue for RevocationInfoChoices
impl<'a> EncodeValue for RevocationInfoChoices
source§impl<'a> FixedTag for RevocationInfoChoices
impl<'a> FixedTag for RevocationInfoChoices
source§impl<'a> From<RevocationInfoChoices> for SetOfVec<RevocationInfoChoice>
impl<'a> From<RevocationInfoChoices> for SetOfVec<RevocationInfoChoice>
source§fn from(value: RevocationInfoChoices) -> Self
fn from(value: RevocationInfoChoices) -> Self
Converts to this type from the input type.
source§impl<'a> From<SetOfVec<RevocationInfoChoice>> for RevocationInfoChoices
impl<'a> From<SetOfVec<RevocationInfoChoice>> for RevocationInfoChoices
source§fn from(value: SetOfVec<RevocationInfoChoice>) -> Self
fn from(value: SetOfVec<RevocationInfoChoice>) -> Self
Converts to this type from the input type.
source§impl PartialEq for RevocationInfoChoices
impl PartialEq for RevocationInfoChoices
source§fn eq(&self, other: &RevocationInfoChoices) -> bool
fn eq(&self, other: &RevocationInfoChoices) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<Vec<RevocationInfoChoice>> for RevocationInfoChoices
Available on crate feature std
only.
impl TryFrom<Vec<RevocationInfoChoice>> for RevocationInfoChoices
Available on crate feature
std
only.source§fn try_from(vec: Vec<RevocationInfoChoice>) -> Result<RevocationInfoChoices>
fn try_from(vec: Vec<RevocationInfoChoice>) -> Result<RevocationInfoChoices>
Performs the conversion.
source§impl<'a> ValueOrd for RevocationInfoChoices
impl<'a> ValueOrd for RevocationInfoChoices
impl Eq for RevocationInfoChoices
impl StructuralEq for RevocationInfoChoices
impl StructuralPartialEq for RevocationInfoChoices
Auto Trait Implementations§
impl RefUnwindSafe for RevocationInfoChoices
impl Send for RevocationInfoChoices
impl Sync for RevocationInfoChoices
impl Unpin for RevocationInfoChoices
impl UnwindSafe for RevocationInfoChoices
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
source§impl<'a, T> Decode<'a> for Twhere
T: DecodeValue<'a> + FixedTag,
impl<'a, T> Decode<'a> for Twhere
T: DecodeValue<'a> + FixedTag,
source§impl<T> Encode for Twhere
T: EncodeValue + Tagged,
impl<T> Encode for Twhere
T: EncodeValue + Tagged,
source§fn encoded_len(&self) -> Result<Length, Error>
fn encoded_len(&self) -> Result<Length, Error>
Compute the length of this value in bytes when encoded as ASN.1 DER.
source§fn encode(&self, writer: &mut impl Writer) -> Result<(), Error>
fn encode(&self, writer: &mut impl Writer) -> Result<(), Error>
Encode this value as ASN.1 DER using the provided Writer
.
source§fn encode_to_slice<'a>(&self, buf: &'a mut [u8]) -> Result<&'a [u8], Error>
fn encode_to_slice<'a>(&self, buf: &'a mut [u8]) -> Result<&'a [u8], Error>
Encode this value to the provided byte slice, returning a sub-slice
containing the encoded message.