pub struct IndexSnapshot {
pub name: String,
pub columns: Vec<IndexColumnSnapshot>,
pub unique: bool,
}Expand description
Snapshot of an index, including the participating columns and sort order.
Fields§
§name: String§columns: Vec<IndexColumnSnapshot>§unique: boolImplementations§
Source§impl IndexSnapshot
impl IndexSnapshot
Trait Implementations§
Source§impl Clone for IndexSnapshot
impl Clone for IndexSnapshot
Source§fn clone(&self) -> IndexSnapshot
fn clone(&self) -> IndexSnapshot
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 IndexSnapshot
impl Debug for IndexSnapshot
Source§impl Default for IndexSnapshot
impl Default for IndexSnapshot
Source§fn default() -> IndexSnapshot
fn default() -> IndexSnapshot
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IndexSnapshot
impl<'de> Deserialize<'de> for IndexSnapshot
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 IndexSnapshot
impl From<&IndexMetadata> for IndexSnapshot
Source§fn from(index: &IndexMetadata) -> Self
fn from(index: &IndexMetadata) -> Self
Converts to this type from the input type.
Source§impl PartialEq for IndexSnapshot
impl PartialEq for IndexSnapshot
Source§fn eq(&self, other: &IndexSnapshot) -> bool
fn eq(&self, other: &IndexSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for IndexSnapshot
impl Serialize for IndexSnapshot
impl Eq for IndexSnapshot
impl StructuralPartialEq for IndexSnapshot
Auto Trait Implementations§
impl Freeze for IndexSnapshot
impl RefUnwindSafe for IndexSnapshot
impl Send for IndexSnapshot
impl Sync for IndexSnapshot
impl Unpin for IndexSnapshot
impl UnsafeUnpin for IndexSnapshot
impl UnwindSafe for IndexSnapshot
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