pub struct IndexSchema {
pub field_name: String,
pub index_type: IndexType,
pub unique: bool,
pub auto_inc: bool,
}Fields§
§field_name: String§index_type: IndexType§unique: bool§auto_inc: boolTrait Implementations§
Source§impl Clone for IndexSchema
impl Clone for IndexSchema
Source§fn clone(&self) -> IndexSchema
fn clone(&self) -> IndexSchema
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 IndexSchema
impl Debug for IndexSchema
Source§impl<'de> Deserialize<'de> for IndexSchema
impl<'de> Deserialize<'de> for IndexSchema
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for IndexSchema
impl RefUnwindSafe for IndexSchema
impl Send for IndexSchema
impl Sync for IndexSchema
impl Unpin for IndexSchema
impl UnsafeUnpin for IndexSchema
impl UnwindSafe for IndexSchema
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