pub struct MigrationMarker {
pub last_upgrade_version: u32,
pub last_run_at: u64,
pub repairs_applied: Vec<String>,
}Expand description
Persisted migration marker (<db>.fsqlite-migration-state, JSON).
Fields§
§last_upgrade_version: u32Migration-logic version that last ran to completion on this database.
last_run_at: u64Unix seconds when the marker was last written (informational).
repairs_applied: Vec<String>Names of the repairs the pass applied (empty when the database was already clean or freshly created).
Trait Implementations§
Source§impl Clone for MigrationMarker
impl Clone for MigrationMarker
Source§fn clone(&self) -> MigrationMarker
fn clone(&self) -> MigrationMarker
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 MigrationMarker
impl Debug for MigrationMarker
Source§impl<'de> Deserialize<'de> for MigrationMarker
impl<'de> Deserialize<'de> for MigrationMarker
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 Eq for MigrationMarker
Source§impl PartialEq for MigrationMarker
impl PartialEq for MigrationMarker
Source§impl Serialize for MigrationMarker
impl Serialize for MigrationMarker
impl StructuralPartialEq for MigrationMarker
Auto Trait Implementations§
impl Freeze for MigrationMarker
impl RefUnwindSafe for MigrationMarker
impl Send for MigrationMarker
impl Sync for MigrationMarker
impl Unpin for MigrationMarker
impl UnsafeUnpin for MigrationMarker
impl UnwindSafe for MigrationMarker
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).