pub struct SqliteStorageSchema {
pub version: u32,
pub store_table_name: &'static str,
pub migration_metadata_table_name: &'static str,
pub statements: &'static [&'static str],
}Expand description
Value object that describes the SQLite storage schema.
Fields§
§version: u32Schema version.
store_table_name: &'static strMain store table name.
migration_metadata_table_name: &'static strMigration metadata table name.
statements: &'static [&'static str]Ordered SQL statements for schema creation.
Implementations§
Trait Implementations§
Source§impl Clone for SqliteStorageSchema
impl Clone for SqliteStorageSchema
Source§fn clone(&self) -> SqliteStorageSchema
fn clone(&self) -> SqliteStorageSchema
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 moreimpl Copy for SqliteStorageSchema
Source§impl Debug for SqliteStorageSchema
impl Debug for SqliteStorageSchema
impl Eq for SqliteStorageSchema
Source§impl PartialEq for SqliteStorageSchema
impl PartialEq for SqliteStorageSchema
Source§fn eq(&self, other: &SqliteStorageSchema) -> bool
fn eq(&self, other: &SqliteStorageSchema) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SqliteStorageSchema
Auto Trait Implementations§
impl Freeze for SqliteStorageSchema
impl RefUnwindSafe for SqliteStorageSchema
impl Send for SqliteStorageSchema
impl Sync for SqliteStorageSchema
impl Unpin for SqliteStorageSchema
impl UnsafeUnpin for SqliteStorageSchema
impl UnwindSafe for SqliteStorageSchema
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