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
sourceimpl Clone for SnapshotArchiveInfo
impl Clone for SnapshotArchiveInfo
sourcefn clone(&self) -> SnapshotArchiveInfo
fn clone(&self) -> SnapshotArchiveInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SnapshotArchiveInfo
impl Debug for SnapshotArchiveInfo
sourceimpl PartialEq<SnapshotArchiveInfo> for SnapshotArchiveInfo
impl PartialEq<SnapshotArchiveInfo> for SnapshotArchiveInfo
sourcefn eq(&self, other: &SnapshotArchiveInfo) -> bool
fn eq(&self, other: &SnapshotArchiveInfo) -> bool
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
sourceimpl<T> AbiExample for T
impl<T> AbiExample for T
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<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,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.