pub struct SparseTableSpec {
pub table: &'static str,
pub identity_cols: &'static [&'static str],
pub scope_col: Option<&'static str>,
}Expand description
稀疏、非 SQL 存储适配器使用的表身份描述。
具体表名由业务模块提供;平台驱动只据此建立通用索引,不依赖业务类型或解析 DDL。
Fields§
§table: &'static str§identity_cols: &'static [&'static str]§scope_col: Option<&'static str>Trait Implementations§
Source§impl Clone for SparseTableSpec
impl Clone for SparseTableSpec
Source§fn clone(&self) -> SparseTableSpec
fn clone(&self) -> SparseTableSpec
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 moreimpl Copy for SparseTableSpec
Source§impl Debug for SparseTableSpec
impl Debug for SparseTableSpec
impl Eq for SparseTableSpec
Source§impl PartialEq for SparseTableSpec
impl PartialEq for SparseTableSpec
impl StructuralPartialEq for SparseTableSpec
Auto Trait Implementations§
impl Freeze for SparseTableSpec
impl RefUnwindSafe for SparseTableSpec
impl Send for SparseTableSpec
impl Sync for SparseTableSpec
impl Unpin for SparseTableSpec
impl UnsafeUnpin for SparseTableSpec
impl UnwindSafe for SparseTableSpec
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