Struct native_db_32bit::DatabaseModel
source · pub struct DatabaseModel {
pub primary_key: DatabaseKeyDefinition<()>,
pub secondary_keys: HashSet<DatabaseKeyDefinition<DatabaseSecondaryKeyOptions>>,
}Fields§
§primary_key: DatabaseKeyDefinition<()>§secondary_keys: HashSet<DatabaseKeyDefinition<DatabaseSecondaryKeyOptions>>Implementations§
source§impl DatabaseModel
impl DatabaseModel
pub fn check_secondary_options<F>( &self, secondary_key: &DatabaseKeyDefinition<DatabaseSecondaryKeyOptions>, check: F ) -> Result<()>
Trait Implementations§
source§impl Clone for DatabaseModel
impl Clone for DatabaseModel
source§fn clone(&self) -> DatabaseModel
fn clone(&self) -> DatabaseModel
Returns a copy 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 moreAuto Trait Implementations§
impl RefUnwindSafe for DatabaseModel
impl Send for DatabaseModel
impl Sync for DatabaseModel
impl Unpin for DatabaseModel
impl UnwindSafe for DatabaseModel
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