pub struct CompressedBlockPayloadV0 {
pub registrations: RegistrationsPerTable,
pub header: PartialBlockHeader,
pub transactions: Vec<CompressedTransaction>,
}
Expand description
Compressed block, without the preceding version byte.
Fields§
§registrations: RegistrationsPerTable
Temporal registry insertions
header: PartialBlockHeader
Compressed block header
transactions: Vec<CompressedTransaction>
Compressed transactions
Trait Implementations§
Source§impl Clone for CompressedBlockPayloadV0
impl Clone for CompressedBlockPayloadV0
Source§fn clone(&self) -> CompressedBlockPayloadV0
fn clone(&self) -> CompressedBlockPayloadV0
Returns a copy 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 CompressedBlockPayloadV0
impl Debug for CompressedBlockPayloadV0
Source§impl Default for CompressedBlockPayloadV0
impl Default for CompressedBlockPayloadV0
Source§fn default() -> CompressedBlockPayloadV0
fn default() -> CompressedBlockPayloadV0
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CompressedBlockPayloadV0
impl<'de> Deserialize<'de> for CompressedBlockPayloadV0
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CompressedBlockPayloadV0
impl PartialEq for CompressedBlockPayloadV0
Source§impl Serialize for CompressedBlockPayloadV0
impl Serialize for CompressedBlockPayloadV0
impl StructuralPartialEq for CompressedBlockPayloadV0
Auto Trait Implementations§
impl Freeze for CompressedBlockPayloadV0
impl RefUnwindSafe for CompressedBlockPayloadV0
impl Send for CompressedBlockPayloadV0
impl Sync for CompressedBlockPayloadV0
impl Unpin for CompressedBlockPayloadV0
impl UnwindSafe for CompressedBlockPayloadV0
Blanket Implementations§
Source§impl<T> AnyDebug for T
impl<T> AnyDebug for T
Source§fn as_any_ref(&self) -> &(dyn Any + 'static)
fn as_any_ref(&self) -> &(dyn Any + 'static)
Returns a reference to the underlying type as
Any
.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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, Ctx, Decompressed> Decompress<Decompressed, Ctx> for Twhere
Ctx: ContextError,
Decompressed: DecompressibleBy<Ctx, Compressed = T>,
impl<T, Ctx, Decompressed> Decompress<Decompressed, Ctx> for Twhere
Ctx: ContextError,
Decompressed: DecompressibleBy<Ctx, Compressed = T>,
Source§async fn decompress(
self,
ctx: &Ctx,
) -> Result<Decompressed, <Ctx as ContextError>::Error>
async fn decompress( self, ctx: &Ctx, ) -> Result<Decompressed, <Ctx as ContextError>::Error>
Perform decompression, returning the original data.
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