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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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