pub struct DbIdentitySpec<'a> {
pub min_user_version: u32,
pub max_user_version: u32,
pub required_tables: &'a [&'a str],
pub schema_table: &'a str,
pub schema_key: &'a str,
pub expected_schema_hash: &'a str,
}Fields§
§min_user_version: u32§max_user_version: u32§required_tables: &'a [&'a str]§schema_table: &'a str§schema_key: &'a str§expected_schema_hash: &'a strTrait Implementations§
Source§impl<'a> Clone for DbIdentitySpec<'a>
impl<'a> Clone for DbIdentitySpec<'a>
Source§fn clone(&self) -> DbIdentitySpec<'a>
fn clone(&self) -> DbIdentitySpec<'a>
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 moreAuto Trait Implementations§
impl<'a> Freeze for DbIdentitySpec<'a>
impl<'a> RefUnwindSafe for DbIdentitySpec<'a>
impl<'a> Send for DbIdentitySpec<'a>
impl<'a> Sync for DbIdentitySpec<'a>
impl<'a> Unpin for DbIdentitySpec<'a>
impl<'a> UnsafeUnpin for DbIdentitySpec<'a>
impl<'a> UnwindSafe for DbIdentitySpec<'a>
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