pub struct ScopedGetSpec {
pub table: &'static str,
pub scope_col: &'static str,
pub scope_val: SqlValue,
pub key_col: &'static str,
pub key_val: SqlValue,
}Expand description
复合作用域 get 规格,用两个等值键 O(1) 定位复合主键行。
Fields§
§table: &'static str§scope_col: &'static str§scope_val: SqlValue§key_col: &'static str§key_val: SqlValueTrait Implementations§
Source§impl Clone for ScopedGetSpec
impl Clone for ScopedGetSpec
Source§fn clone(&self) -> ScopedGetSpec
fn clone(&self) -> ScopedGetSpec
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 moreAuto Trait Implementations§
impl Freeze for ScopedGetSpec
impl RefUnwindSafe for ScopedGetSpec
impl Send for ScopedGetSpec
impl Sync for ScopedGetSpec
impl Unpin for ScopedGetSpec
impl UnsafeUnpin for ScopedGetSpec
impl UnwindSafe for ScopedGetSpec
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