pub struct LeafNodeTBS<'a> {
pub encryption_key: HpkePublicKeyRef<'a>,
pub signature_key: SignaturePublicKeyRef<'a>,
pub credential: &'a Credential,
pub capabilities: &'a Capabilities,
pub source: &'a LeafNodeSource,
pub extensions: &'a Vec<Extension>,
pub member_info: Option<LeafNodeMemberInfo<'a>>,
}
Fields§
§encryption_key: HpkePublicKeyRef<'a>
§signature_key: SignaturePublicKeyRef<'a>
§credential: &'a Credential
§capabilities: &'a Capabilities
§source: &'a LeafNodeSource
§extensions: &'a Vec<Extension>
§member_info: Option<LeafNodeMemberInfo<'a>>
Trait Implementations§
Source§impl<'a> Debug for LeafNodeTBS<'a>
impl<'a> Debug for LeafNodeTBS<'a>
Source§impl<'a> PartialEq for LeafNodeTBS<'a>
impl<'a> PartialEq for LeafNodeTBS<'a>
Source§impl Serialize for LeafNodeTBS<'_>
impl Serialize for LeafNodeTBS<'_>
Source§impl Size for LeafNodeTBS<'_>
impl Size for LeafNodeTBS<'_>
fn tls_serialized_len(&self) -> usize
impl<'a> Eq for LeafNodeTBS<'a>
impl<'a> StructuralPartialEq for LeafNodeTBS<'a>
Auto Trait Implementations§
impl<'a> Freeze for LeafNodeTBS<'a>
impl<'a> RefUnwindSafe for LeafNodeTBS<'a>
impl<'a> Send for LeafNodeTBS<'a>
impl<'a> Sync for LeafNodeTBS<'a>
impl<'a> Unpin for LeafNodeTBS<'a>
impl<'a> UnwindSafe for LeafNodeTBS<'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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more