pub struct KeyPackageTBS<'a> {
pub version: &'a ProtocolVersion,
pub cipher_suite: &'a CiphersuiteId,
pub init_key: &'a [u8],
pub leaf_node: &'a LeafNode,
pub extensions: &'a [Extension],
}
Fields§
§version: &'a ProtocolVersion
§cipher_suite: &'a CiphersuiteId
§init_key: &'a [u8]
§leaf_node: &'a LeafNode
§extensions: &'a [Extension]
Trait Implementations§
Source§impl<'a> Clone for KeyPackageTBS<'a>
impl<'a> Clone for KeyPackageTBS<'a>
Source§fn clone(&self) -> KeyPackageTBS<'a>
fn clone(&self) -> KeyPackageTBS<'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 KeyPackageTBS<'a>
impl<'a> Debug for KeyPackageTBS<'a>
Source§impl<'a> PartialEq for KeyPackageTBS<'a>
impl<'a> PartialEq for KeyPackageTBS<'a>
Source§impl<'a> Serialize for &KeyPackageTBS<'a>
impl<'a> Serialize for &KeyPackageTBS<'a>
Source§impl<'a> Serialize for KeyPackageTBS<'a>
impl<'a> Serialize for KeyPackageTBS<'a>
Source§impl<'a> Serialize for KeyPackageTBS<'a>
impl<'a> Serialize for KeyPackageTBS<'a>
Source§impl<'a> Size for &KeyPackageTBS<'a>
impl<'a> Size for &KeyPackageTBS<'a>
fn tls_serialized_len(&self) -> usize
Source§impl<'a> Size for KeyPackageTBS<'a>
impl<'a> Size for KeyPackageTBS<'a>
fn tls_serialized_len(&self) -> usize
impl<'a> Eq for KeyPackageTBS<'a>
impl<'a> StructuralPartialEq for KeyPackageTBS<'a>
Auto Trait Implementations§
impl<'a> Freeze for KeyPackageTBS<'a>
impl<'a> RefUnwindSafe for KeyPackageTBS<'a>
impl<'a> Send for KeyPackageTBS<'a>
impl<'a> Sync for KeyPackageTBS<'a>
impl<'a> Unpin for KeyPackageTBS<'a>
impl<'a> UnwindSafe for KeyPackageTBS<'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