pub struct IndexRequest {
pub explicit_name: Option<String>,
pub kind: StoredIndexKind,
pub entity: StoredIndexEntity,
pub label: Option<String>,
pub additional_labels: Vec<String>,
pub properties: Vec<String>,
pub options: BTreeMap<String, IndexConfigValue>,
}Expand description
What a caller asks the catalog to create. The explicit_name
is None when the user did not name the index at the call site —
the catalog will mint a deterministic one.
Fields§
§explicit_name: Option<String>§kind: StoredIndexKind§entity: StoredIndexEntity§label: Option<String>§additional_labels: Vec<String>Extra labels beyond label. Only populated for FULLTEXT requests.
properties: Vec<String>§options: BTreeMap<String, IndexConfigValue>Trait Implementations§
Source§impl Clone for IndexRequest
impl Clone for IndexRequest
Source§fn clone(&self) -> IndexRequest
fn clone(&self) -> IndexRequest
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 IndexRequest
impl Debug for IndexRequest
Source§impl<'de> Deserialize<'de> for IndexRequest
impl<'de> Deserialize<'de> for IndexRequest
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
Source§impl PartialEq for IndexRequest
impl PartialEq for IndexRequest
Source§fn eq(&self, other: &IndexRequest) -> bool
fn eq(&self, other: &IndexRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for IndexRequest
impl Serialize for IndexRequest
impl StructuralPartialEq for IndexRequest
Auto Trait Implementations§
impl Freeze for IndexRequest
impl RefUnwindSafe for IndexRequest
impl Send for IndexRequest
impl Sync for IndexRequest
impl Unpin for IndexRequest
impl UnsafeUnpin for IndexRequest
impl UnwindSafe for IndexRequest
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