pub struct ScopedScanSpec {
pub table: &'static str,
pub scope_col: &'static str,
pub scope_values: Vec<SqlValue>,
pub limit: usize,
}Expand description
作用域集合内的有界多行查询规格。
driver 必须先应用 scope_col IN scope_values 再执行 limit;若匹配行数超过 limit,
必须返回错误而不是静默截断。limit 是调用方明确给出的硬上限,空作用域返回空数组。
scope_values 按集合解释:重复值不得让同一行跨分块重复返回。
Fields§
§table: &'static str§scope_col: &'static str§scope_values: Vec<SqlValue>§limit: usizeTrait Implementations§
Source§impl Clone for ScopedScanSpec
impl Clone for ScopedScanSpec
Auto Trait Implementations§
impl Freeze for ScopedScanSpec
impl RefUnwindSafe for ScopedScanSpec
impl Send for ScopedScanSpec
impl Sync for ScopedScanSpec
impl Unpin for ScopedScanSpec
impl UnsafeUnpin for ScopedScanSpec
impl UnwindSafe for ScopedScanSpec
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