pub struct CheckpointMetadata {
pub uuid: Uuid,
pub identifier: Option<String>,
pub fingerprint: u64,
pub size: Option<u64>,
pub steps: Option<u64>,
pub processed_records: Option<u64>,
}Expand description
Holds meta-data about a checkpoint that was taken for persistent storage and recovery of a circuit’s state.
Fields§
§uuid: UuidA unique identifier for the given checkpoint.
This is used to identify the checkpoint in the file-system hierarchy.
identifier: Option<String>An optional name for the checkpoint.
fingerprint: u64Fingerprint of the circuit at the time of the checkpoint.
size: Option<u64>Total size of the checkpoint files in bytes.
steps: Option<u64>Total number of steps made.
processed_records: Option<u64>Total number of records processed.
Trait Implementations§
Source§impl Clone for CheckpointMetadata
impl Clone for CheckpointMetadata
Source§fn clone(&self) -> CheckpointMetadata
fn clone(&self) -> CheckpointMetadata
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CheckpointMetadata
impl Debug for CheckpointMetadata
Source§impl Default for CheckpointMetadata
impl Default for CheckpointMetadata
Source§fn default() -> CheckpointMetadata
fn default() -> CheckpointMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CheckpointMetadata
impl<'de> Deserialize<'de> for CheckpointMetadata
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 CheckpointMetadata
impl PartialEq for CheckpointMetadata
Source§fn eq(&self, other: &CheckpointMetadata) -> bool
fn eq(&self, other: &CheckpointMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CheckpointMetadata
impl Serialize for CheckpointMetadata
Source§impl<'__s> ToSchema<'__s> for CheckpointMetadata
impl<'__s> ToSchema<'__s> for CheckpointMetadata
impl Eq for CheckpointMetadata
impl StructuralPartialEq for CheckpointMetadata
Auto Trait Implementations§
impl Freeze for CheckpointMetadata
impl RefUnwindSafe for CheckpointMetadata
impl Send for CheckpointMetadata
impl Sync for CheckpointMetadata
impl Unpin for CheckpointMetadata
impl UnsafeUnpin for CheckpointMetadata
impl UnwindSafe for CheckpointMetadata
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.