pub struct SnapshotArchiveInfo {
pub path: PathBuf,
pub slot: Slot,
pub hash: Hash,
pub archive_format: ArchiveFormat,
}
Expand description
Common information about a snapshot archive
Fields§
§path: PathBuf
Path to the snapshot archive file
slot: Slot
Slot that the snapshot was made
hash: Hash
Hash of the accounts at this slot
archive_format: ArchiveFormat
Archive format for the snapshot file
Trait Implementations§
source§impl Clone for SnapshotArchiveInfo
impl Clone for SnapshotArchiveInfo
source§fn clone(&self) -> SnapshotArchiveInfo
fn clone(&self) -> SnapshotArchiveInfo
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 SnapshotArchiveInfo
impl Debug for SnapshotArchiveInfo
source§impl PartialEq<SnapshotArchiveInfo> for SnapshotArchiveInfo
impl PartialEq<SnapshotArchiveInfo> for SnapshotArchiveInfo
source§fn eq(&self, other: &SnapshotArchiveInfo) -> bool
fn eq(&self, other: &SnapshotArchiveInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SnapshotArchiveInfo
impl StructuralEq for SnapshotArchiveInfo
impl StructuralPartialEq for SnapshotArchiveInfo
Auto Trait Implementations§
impl RefUnwindSafe for SnapshotArchiveInfo
impl Send for SnapshotArchiveInfo
impl Sync for SnapshotArchiveInfo
impl Unpin for SnapshotArchiveInfo
impl UnwindSafe for SnapshotArchiveInfo
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.