pub struct MutationStamp {
pub engine_version: String,
pub schema: String,
}Expand description
Engine-owned version stamp of the last successful mutation on a
mem — see MemConfig::mutation_stamp. Both values are recorded
at mutation time: engine_version is the engine crate version the
acting binary was built from, schema the resolved
<name>@<version> the mutation validated against (the resolved
schema, not merely the pin — mid-migration mems stamp the target
they validated against).
Fields§
§engine_version: StringFull build version of the binary that performed the last
mutation — memstead-base’s build_info::full_version():
the crate semver, plus +g<sha>[-dirty] build metadata when
built inside a git checkout, so dev builds between releases
stamp distinguishably. Older stamps carry the plain semver
and compare against the full current value — firing the skew
hint on the first post-upgrade boot is desired, no migration.
schema: StringResolved schema <name>@<version> the last mutation validated
against.
Trait Implementations§
Source§impl Clone for MutationStamp
impl Clone for MutationStamp
Source§fn clone(&self) -> MutationStamp
fn clone(&self) -> MutationStamp
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MutationStamp
impl Debug for MutationStamp
Source§impl<'de> Deserialize<'de> for MutationStamp
impl<'de> Deserialize<'de> for MutationStamp
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>,
impl Eq for MutationStamp
Source§impl PartialEq for MutationStamp
impl PartialEq for MutationStamp
Source§impl Serialize for MutationStamp
impl Serialize for MutationStamp
impl StructuralPartialEq for MutationStamp
Auto Trait Implementations§
impl Freeze for MutationStamp
impl RefUnwindSafe for MutationStamp
impl Send for MutationStamp
impl Sync for MutationStamp
impl Unpin for MutationStamp
impl UnsafeUnpin for MutationStamp
impl UnwindSafe for MutationStamp
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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
key and return true if they are equal.