Struct google_datamigration1::api::IndexEntity
source · pub struct IndexEntity {
pub custom_features: Option<HashMap<String, Value>>,
pub name: Option<String>,
pub table_columns: Option<Vec<String>>,
pub type_: Option<String>,
pub unique: Option<bool>,
}
Expand description
Index is not used as an independent entity, it is retrieved as part of a Table entity.
This type is not used in any activity, and only used as part of another schema.
Fields§
§custom_features: Option<HashMap<String, Value>>
Custom engine specific features
name: Option<String>
The name of the index
table_columns: Option<Vec<String>>
Table columns used as part of the Index for e.g. B-TREE index should list the columns which constitutes the index.
type_: Option<String>
Type of index - e.g. B-TREE
unique: Option<bool>
boolean value indicating whether the index is unique
Trait Implementations§
source§impl Clone for IndexEntity
impl Clone for IndexEntity
source§fn clone(&self) -> IndexEntity
fn clone(&self) -> IndexEntity
Returns a copy 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 IndexEntity
impl Debug for IndexEntity
source§impl Default for IndexEntity
impl Default for IndexEntity
source§fn default() -> IndexEntity
fn default() -> IndexEntity
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for IndexEntity
impl<'de> Deserialize<'de> for IndexEntity
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 Serialize for IndexEntity
impl Serialize for IndexEntity
impl Part for IndexEntity
Auto Trait Implementations§
impl RefUnwindSafe for IndexEntity
impl Send for IndexEntity
impl Sync for IndexEntity
impl Unpin for IndexEntity
impl UnwindSafe for IndexEntity
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