pub struct IndexInfo {
pub name: String,
pub index_id: u32,
pub catalog_name: String,
pub namespace_name: String,
pub table_name: String,
pub columns: Vec<String>,
pub method: String,
pub is_unique: bool,
}Expand description
インデックス情報(公開 API 返却用)。
Fields§
§name: Stringインデックス名。
index_id: u32インデックス ID。
catalog_name: String所属 Catalog 名。
namespace_name: String所属 Namespace 名。
table_name: String対象テーブル名。
columns: Vec<String>対象カラム名。
method: Stringインデックス方式(“btree” | “hnsw”)。
is_unique: boolユニーク制約。
Trait Implementations§
Source§impl From<&IndexMetadata> for IndexInfo
impl From<&IndexMetadata> for IndexInfo
Source§fn from(value: &IndexMetadata) -> Self
fn from(value: &IndexMetadata) -> Self
Converts to this type from the input type.
Source§impl From<IndexMetadata> for IndexInfo
impl From<IndexMetadata> for IndexInfo
Source§fn from(value: IndexMetadata) -> Self
fn from(value: IndexMetadata) -> Self
Converts to this type from the input type.
impl Eq for IndexInfo
impl StructuralPartialEq for IndexInfo
Auto Trait Implementations§
impl Freeze for IndexInfo
impl RefUnwindSafe for IndexInfo
impl Send for IndexInfo
impl Sync for IndexInfo
impl Unpin for IndexInfo
impl UnwindSafe for IndexInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.