pub struct ExtraFieldsToSerialize {
pub lamports_per_signature: u64,
pub obsolete_incremental_snapshot_persistence: Option<ObsoleteIncrementalSnapshotPersistence>,
pub obsolete_epoch_accounts_hash: Option<Hash>,
pub versioned_epoch_stakes: HashMap<u64, VersionedEpochStakes>,
pub accounts_lt_hash: Option<SerdeAccountsLtHash>,
}Expand description
Extra fields that are serialized at the end of snapshots.
Note that this struct’s fields should stay synced with the fields in ExtraFieldsToDeserialize with the exception that new “extra fields” should be added to the deserialize struct a minor release before they are added to this one.
Fields§
§lamports_per_signature: u64§obsolete_incremental_snapshot_persistence: Option<ObsoleteIncrementalSnapshotPersistence>§obsolete_epoch_accounts_hash: Option<Hash>§versioned_epoch_stakes: HashMap<u64, VersionedEpochStakes>§accounts_lt_hash: Option<SerdeAccountsLtHash>Trait Implementations§
Source§impl Debug for ExtraFieldsToSerialize
impl Debug for ExtraFieldsToSerialize
Auto Trait Implementations§
impl Freeze for ExtraFieldsToSerialize
impl RefUnwindSafe for ExtraFieldsToSerialize
impl Send for ExtraFieldsToSerialize
impl Sync for ExtraFieldsToSerialize
impl Unpin for ExtraFieldsToSerialize
impl UnwindSafe for ExtraFieldsToSerialize
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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