pub struct GenerationRecord {
pub generation: u64,
pub parent_generation: Option<u64>,
pub runtime_fingerprint: Option<String>,
pub declaration_count: u32,
pub committed_at: Option<u64>,
}Expand description
GenerationRecord
Diagnostic metadata for one committed ledger generation.
Fields§
§generation: u64Committed generation number.
parent_generation: Option<u64>Parent generation, if recorded.
runtime_fingerprint: Option<String>Optional binary/runtime fingerprint.
declaration_count: u32Number of declarations in the generation.
committed_at: Option<u64>Optional commit timestamp supplied by the integration layer.
Trait Implementations§
Source§impl Clone for GenerationRecord
impl Clone for GenerationRecord
Source§fn clone(&self) -> GenerationRecord
fn clone(&self) -> GenerationRecord
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 GenerationRecord
impl Debug for GenerationRecord
Source§impl<'de> Deserialize<'de> for GenerationRecord
impl<'de> Deserialize<'de> for GenerationRecord
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 GenerationRecord
impl PartialEq for GenerationRecord
Source§fn eq(&self, other: &GenerationRecord) -> bool
fn eq(&self, other: &GenerationRecord) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GenerationRecord
impl Serialize for GenerationRecord
impl Eq for GenerationRecord
impl StructuralPartialEq for GenerationRecord
Auto Trait Implementations§
impl Freeze for GenerationRecord
impl RefUnwindSafe for GenerationRecord
impl Send for GenerationRecord
impl Sync for GenerationRecord
impl Unpin for GenerationRecord
impl UnsafeUnpin for GenerationRecord
impl UnwindSafe for GenerationRecord
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