pub struct StoreMigrationReceipt {
pub source_format: u32,
pub source_sha256: String,
pub destination_format: u32,
pub events_migrated: u64,
pub mutations_applied: u64,
pub kernel_version: String,
}Expand description
What a migration did, kept in the store it produced.
Fields§
§source_format: u32§source_sha256: String§destination_format: u32§events_migrated: u64§mutations_applied: u64§kernel_version: StringImplementations§
Source§impl StoreMigrationReceipt
impl StoreMigrationReceipt
Sourcepub const MIGRATION_ID: &'static str = "store-format-migration"
pub const MIGRATION_ID: &'static str = "store-format-migration"
Single key: a store is the product of one migration, or of none.
Trait Implementations§
Source§impl Clone for StoreMigrationReceipt
impl Clone for StoreMigrationReceipt
Source§fn clone(&self) -> StoreMigrationReceipt
fn clone(&self) -> StoreMigrationReceipt
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 StoreMigrationReceipt
impl Debug for StoreMigrationReceipt
Source§impl<'de> Deserialize<'de> for StoreMigrationReceipt
impl<'de> Deserialize<'de> for StoreMigrationReceipt
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<StoreMigrationReceipt, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<StoreMigrationReceipt, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for StoreMigrationReceipt
Source§impl PartialEq for StoreMigrationReceipt
impl PartialEq for StoreMigrationReceipt
Source§impl Serialize for StoreMigrationReceipt
impl Serialize for StoreMigrationReceipt
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for StoreMigrationReceipt
Auto Trait Implementations§
impl Freeze for StoreMigrationReceipt
impl RefUnwindSafe for StoreMigrationReceipt
impl Send for StoreMigrationReceipt
impl Sync for StoreMigrationReceipt
impl Unpin for StoreMigrationReceipt
impl UnsafeUnpin for StoreMigrationReceipt
impl UnwindSafe for StoreMigrationReceipt
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