pub struct IndexMetadata {
pub name: &'static str,
pub columns: &'static [IndexColumnMetadata],
pub unique: bool,
}Expand description
Index metadata attached to an entity.
Fields§
§name: &'static str§columns: &'static [IndexColumnMetadata]§unique: boolTrait Implementations§
Source§impl Clone for IndexMetadata
impl Clone for IndexMetadata
Source§fn clone(&self) -> IndexMetadata
fn clone(&self) -> IndexMetadata
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 moreSource§impl Debug for IndexMetadata
impl Debug for IndexMetadata
Source§impl PartialEq for IndexMetadata
impl PartialEq for IndexMetadata
Source§fn eq(&self, other: &IndexMetadata) -> bool
fn eq(&self, other: &IndexMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for IndexMetadata
impl Eq for IndexMetadata
impl StructuralPartialEq for IndexMetadata
Auto Trait Implementations§
impl Freeze for IndexMetadata
impl RefUnwindSafe for IndexMetadata
impl Send for IndexMetadata
impl Sync for IndexMetadata
impl Unpin for IndexMetadata
impl UnsafeUnpin for IndexMetadata
impl UnwindSafe for IndexMetadata
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