pub struct DatabaseSchemaReport {
pub runtime_version: i64,
pub stored_version: Option<i64>,
pub compatibility: DatabaseSchemaCompatibility,
pub migration_required: Option<bool>,
pub migration_supported: bool,
pub migration_steps_remaining: Option<u32>,
}Expand description
Content-free schema and migration state.
Fields§
§runtime_version: i64Schema version supported by this runtime.
stored_version: Option<i64>Durable schema version when a validated admitted schema exposed one.
compatibility: DatabaseSchemaCompatibilityClosed compatibility and migration state.
migration_required: Option<bool>Whether the selected state is known to require migration.
migration_supported: boolWhether this runtime owns a complete migration path for the selected state.
migration_steps_remaining: Option<u32>Remaining append-only migration steps when the state is admitted.
Trait Implementations§
Source§impl Clone for DatabaseSchemaReport
impl Clone for DatabaseSchemaReport
Source§fn clone(&self) -> DatabaseSchemaReport
fn clone(&self) -> DatabaseSchemaReport
Returns a duplicate of the value. Read more
1.0.0 · 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 DatabaseSchemaReport
impl Debug for DatabaseSchemaReport
Source§impl PartialEq for DatabaseSchemaReport
impl PartialEq for DatabaseSchemaReport
Source§impl Serialize for DatabaseSchemaReport
impl Serialize for DatabaseSchemaReport
impl Eq for DatabaseSchemaReport
impl StructuralPartialEq for DatabaseSchemaReport
Auto Trait Implementations§
impl Freeze for DatabaseSchemaReport
impl RefUnwindSafe for DatabaseSchemaReport
impl Send for DatabaseSchemaReport
impl Sync for DatabaseSchemaReport
impl Unpin for DatabaseSchemaReport
impl UnwindSafe for DatabaseSchemaReport
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more