pub struct PersistedIndexMeta {
pub index_id: u32,
pub name: String,
pub table: String,
pub columns: Vec<String>,
pub column_indices: Vec<usize>,
pub unique: bool,
pub method: Option<PersistedIndexType>,
pub options: Vec<(String, String)>,
}Fields§
§index_id: u32§name: String§table: String§columns: Vec<String>§column_indices: Vec<usize>§unique: bool§method: Option<PersistedIndexType>§options: Vec<(String, String)>Trait Implementations§
Source§impl Clone for PersistedIndexMeta
impl Clone for PersistedIndexMeta
Source§fn clone(&self) -> PersistedIndexMeta
fn clone(&self) -> PersistedIndexMeta
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PersistedIndexMeta
impl Debug for PersistedIndexMeta
Source§impl<'de> Deserialize<'de> for PersistedIndexMeta
impl<'de> Deserialize<'de> for PersistedIndexMeta
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 From<&IndexMetadata> for PersistedIndexMeta
impl From<&IndexMetadata> for PersistedIndexMeta
Source§fn from(value: &IndexMetadata) -> Self
fn from(value: &IndexMetadata) -> Self
Converts to this type from the input type.
Source§impl From<PersistedIndexMeta> for IndexMetadata
impl From<PersistedIndexMeta> for IndexMetadata
Source§fn from(value: PersistedIndexMeta) -> Self
fn from(value: PersistedIndexMeta) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PersistedIndexMeta
impl PartialEq for PersistedIndexMeta
Source§impl Serialize for PersistedIndexMeta
impl Serialize for PersistedIndexMeta
impl Eq for PersistedIndexMeta
impl StructuralPartialEq for PersistedIndexMeta
Auto Trait Implementations§
impl Freeze for PersistedIndexMeta
impl RefUnwindSafe for PersistedIndexMeta
impl Send for PersistedIndexMeta
impl Sync for PersistedIndexMeta
impl Unpin for PersistedIndexMeta
impl UnwindSafe for PersistedIndexMeta
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)