pub struct PrivateContentAAD<'a> {
pub group_id: &'a [u8],
pub epoch: &'a Epoch,
pub content_type: &'a ContentType,
pub authenticated_data: &'a [u8],
}
Expand description
PrivateMessage content AAD struct
https://www.rfc-editor.org/rfc/rfc9420.html#section-6.3.1-9
§TLS Presentation Language
struct {
opaque group_id<V>;
uint64 epoch;
ContentType content_type;
opaque authenticated_data<V>;
} PrivateContentAAD;
Fields§
§group_id: &'a [u8]
§epoch: &'a Epoch
§content_type: &'a ContentType
§authenticated_data: &'a [u8]
Trait Implementations§
Source§impl<'a> Clone for PrivateContentAAD<'a>
impl<'a> Clone for PrivateContentAAD<'a>
Source§fn clone(&self) -> PrivateContentAAD<'a>
fn clone(&self) -> PrivateContentAAD<'a>
Returns a duplicate 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 PrivateContentAAD<'a>
impl<'a> Debug for PrivateContentAAD<'a>
Source§impl<'a> PartialEq for PrivateContentAAD<'a>
impl<'a> PartialEq for PrivateContentAAD<'a>
Source§impl<'a> Serialize for &PrivateContentAAD<'a>
impl<'a> Serialize for &PrivateContentAAD<'a>
Source§impl<'a> Serialize for PrivateContentAAD<'a>
impl<'a> Serialize for PrivateContentAAD<'a>
Source§impl<'a> Size for &PrivateContentAAD<'a>
impl<'a> Size for &PrivateContentAAD<'a>
fn tls_serialized_len(&self) -> usize
Source§impl<'a> Size for PrivateContentAAD<'a>
impl<'a> Size for PrivateContentAAD<'a>
fn tls_serialized_len(&self) -> usize
impl<'a> Eq for PrivateContentAAD<'a>
impl<'a> StructuralPartialEq for PrivateContentAAD<'a>
Auto Trait Implementations§
impl<'a> Freeze for PrivateContentAAD<'a>
impl<'a> RefUnwindSafe for PrivateContentAAD<'a>
impl<'a> Send for PrivateContentAAD<'a>
impl<'a> Sync for PrivateContentAAD<'a>
impl<'a> Unpin for PrivateContentAAD<'a>
impl<'a> UnwindSafe for PrivateContentAAD<'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