Struct native_db::db_type::DatabaseSecondaryKeyOptions
source · pub struct DatabaseSecondaryKeyOptions {
pub unique: bool,
pub optional: bool,
}
Fields§
§unique: bool
§optional: bool
Trait Implementations§
source§impl Clone for DatabaseSecondaryKeyOptions
impl Clone for DatabaseSecondaryKeyOptions
source§fn clone(&self) -> DatabaseSecondaryKeyOptions
fn clone(&self) -> DatabaseSecondaryKeyOptions
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 moresource§impl Debug for DatabaseSecondaryKeyOptions
impl Debug for DatabaseSecondaryKeyOptions
source§impl Default for DatabaseSecondaryKeyOptions
impl Default for DatabaseSecondaryKeyOptions
source§fn default() -> DatabaseSecondaryKeyOptions
fn default() -> DatabaseSecondaryKeyOptions
Returns the “default value” for a type. Read more
source§impl PartialEq for DatabaseSecondaryKeyOptions
impl PartialEq for DatabaseSecondaryKeyOptions
source§fn eq(&self, other: &DatabaseSecondaryKeyOptions) -> bool
fn eq(&self, other: &DatabaseSecondaryKeyOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DatabaseSecondaryKeyOptions
impl StructuralPartialEq for DatabaseSecondaryKeyOptions
Auto Trait Implementations§
impl Freeze for DatabaseSecondaryKeyOptions
impl RefUnwindSafe for DatabaseSecondaryKeyOptions
impl Send for DatabaseSecondaryKeyOptions
impl Sync for DatabaseSecondaryKeyOptions
impl Unpin for DatabaseSecondaryKeyOptions
impl UnwindSafe for DatabaseSecondaryKeyOptions
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