pub struct IndexView {
pub name: String,
pub fields: Vec<String>,
pub unique: bool,
pub present_only: bool,
}Expand description
IndexView An index in the inspected schema.
Fields§
§name: StringIndex name.
fields: Vec<String>Component fields in index order.
unique: boolWhether the key must be unique.
present_only: boolWhether rows with absent components are excluded.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for IndexView
impl<'de> Deserialize<'de> for IndexView
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 Forget for IndexView
impl Freeze for IndexView
impl Move for IndexView
impl RefUnwindSafe for IndexView
impl Send for IndexViewwhere
RawVecInner: Send,
impl Sync for IndexViewwhere
RawVecInner: Sync,
impl Unpin for IndexView
impl UnsafeUnpin for IndexViewwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for IndexViewwhere
RawVecInner: UnwindSafe,
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