Struct dbml_rs::ast::indexes::IndexesSettings
source · pub struct IndexesSettings {
pub type: Option<IndexesType>,
pub is_unique: bool,
pub is_pk: bool,
pub note: Option<String>,
pub name: Option<String>,
}Fields§
§type: Option<IndexesType>§is_unique: bool§is_pk: bool§note: Option<String>§name: Option<String>Trait Implementations§
source§impl Clone for IndexesSettings
impl Clone for IndexesSettings
source§fn clone(&self) -> IndexesSettings
fn clone(&self) -> IndexesSettings
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 IndexesSettings
impl Debug for IndexesSettings
source§impl Default for IndexesSettings
impl Default for IndexesSettings
source§fn default() -> IndexesSettings
fn default() -> IndexesSettings
Returns the “default value” for a type. Read more
source§impl PartialEq<IndexesSettings> for IndexesSettings
impl PartialEq<IndexesSettings> for IndexesSettings
source§fn eq(&self, other: &IndexesSettings) -> bool
fn eq(&self, other: &IndexesSettings) -> bool
This method tests for
self and other values to be equal, and is used
by ==.