pub struct Snapshot {
pub digest: String,
pub beacon: CardanoDbBeacon,
pub certificate_hash: String,
pub size: i64,
pub created_at: String,
pub locations: Vec<String>,
pub compression_algorithm: Option<String>,
pub cardano_node_version: Option<String>,
}Expand description
Snapshot : Snapshot represents a snapshot file and its metadata
Fields§
§digest: StringDigest that is signed by the signer participants
beacon: CardanoDbBeacon§certificate_hash: StringHash of the associated certificate
size: i64Size of the snapshot file in Bytes
created_at: StringDate and time at which the snapshot was created
locations: Vec<String>Locations where the binary content of the snapshot can be retrieved
compression_algorithm: Option<String>Compression algorithm for the snapshot archive
cardano_node_version: Option<String>Version of the Cardano node which is used to create snapshot archives.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Snapshot
impl<'de> Deserialize<'de> for Snapshot
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
impl StructuralPartialEq for Snapshot
Auto Trait Implementations§
impl Freeze for Snapshot
impl RefUnwindSafe for Snapshot
impl Send for Snapshot
impl Sync for Snapshot
impl Unpin for Snapshot
impl UnwindSafe for Snapshot
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