pub struct FrankenParentNode {
pub encryption_key: VLBytes,
pub parent_hash: VLBytes,
pub unmerged_leaves: Vec<u32>,
}Available on (32-bit or 64-bit) and (crate features
test-utils) only.Fields§
§encryption_key: VLBytes§parent_hash: VLBytes§unmerged_leaves: Vec<u32>Trait Implementations§
Source§impl Clone for FrankenParentNode
impl Clone for FrankenParentNode
Source§fn clone(&self) -> FrankenParentNode
fn clone(&self) -> FrankenParentNode
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 Debug for FrankenParentNode
impl Debug for FrankenParentNode
Source§impl Deserialize for FrankenParentNode
impl Deserialize for FrankenParentNode
Source§fn tls_deserialize<R: Read>(bytes: &mut R) -> Result<Self, Error>
fn tls_deserialize<R: Read>(bytes: &mut R) -> Result<Self, Error>
Available on crate feature
std only.This function deserializes the
bytes from the provided a std::io::Read
and returns the populated struct. Read moreSource§impl DeserializeBytes for FrankenParentNode
impl DeserializeBytes for FrankenParentNode
Source§impl From<ParentNode> for FrankenParentNode
impl From<ParentNode> for FrankenParentNode
Source§fn from(value: ParentNode) -> Self
fn from(value: ParentNode) -> Self
Converts to this type from the input type.
Source§impl PartialEq for FrankenParentNode
impl PartialEq for FrankenParentNode
Source§impl Serialize for &FrankenParentNode
impl Serialize for &FrankenParentNode
Source§impl Serialize for FrankenParentNode
impl Serialize for FrankenParentNode
Source§impl Size for &FrankenParentNode
impl Size for &FrankenParentNode
fn tls_serialized_len(&self) -> usize
Source§impl Size for FrankenParentNode
impl Size for FrankenParentNode
fn tls_serialized_len(&self) -> usize
impl Eq for FrankenParentNode
impl StructuralPartialEq for FrankenParentNode
Auto Trait Implementations§
impl Freeze for FrankenParentNode
impl RefUnwindSafe for FrankenParentNode
impl Send for FrankenParentNode
impl Sync for FrankenParentNode
impl Unpin for FrankenParentNode
impl UnwindSafe for FrankenParentNode
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
§impl<T> Classify for T
impl<T> Classify for T
type Classified = T
fn classify(self) -> T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Declassify for T
impl<T> Declassify for T
type Declassified = T
fn declassify(self) -> T
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