pub struct AttributeTypeAndValue<'a> {
pub oid: AttributeType,
pub value: AnyRef<'a>,
}Expand description
X.501 AttributeTypeAndValue as defined in RFC 5280 Appendix A.1.
AttributeTypeAndValue ::= SEQUENCE {
type AttributeType,
value AttributeValue
}Fields§
§oid: AttributeType§value: AnyRef<'a>Trait Implementations§
Source§impl<'a> Clone for AttributeTypeAndValue<'a>
impl<'a> Clone for AttributeTypeAndValue<'a>
Source§impl<'a> Debug for AttributeTypeAndValue<'a>
impl<'a> Debug for AttributeTypeAndValue<'a>
Source§impl<'a> DecodeValue<'a> for AttributeTypeAndValue<'a>
impl<'a> DecodeValue<'a> for AttributeTypeAndValue<'a>
Source§impl<'a> EncodeValue for AttributeTypeAndValue<'a>
impl<'a> EncodeValue for AttributeTypeAndValue<'a>
impl<'a> Eq for AttributeTypeAndValue<'a>
Source§impl<'a> Ord for AttributeTypeAndValue<'a>
impl<'a> Ord for AttributeTypeAndValue<'a>
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl<'a> PartialEq for AttributeTypeAndValue<'a>
impl<'a> PartialEq for AttributeTypeAndValue<'a>
Source§impl<'a> PartialOrd for AttributeTypeAndValue<'a>
impl<'a> PartialOrd for AttributeTypeAndValue<'a>
impl<'a> Sequence<'a> for AttributeTypeAndValue<'a>
impl<'a> StructuralPartialEq for AttributeTypeAndValue<'a>
Auto Trait Implementations§
impl<'a> Forget for AttributeTypeAndValue<'a>
impl<'a> Freeze for AttributeTypeAndValue<'a>
impl<'a> Move for AttributeTypeAndValue<'a>
impl<'a> RefUnwindSafe for AttributeTypeAndValue<'a>
impl<'a> Send for AttributeTypeAndValue<'a>
impl<'a> Sync for AttributeTypeAndValue<'a>
impl<'a> Unpin for AttributeTypeAndValue<'a>
impl<'a> UnsafeUnpin for AttributeTypeAndValue<'a>
impl<'a> UnwindSafe for AttributeTypeAndValue<'a>
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