pub struct TruncationCheck {
pub max_limit: usize,
pub requested_limit: Option<usize>,
}Expand description
Fields§
§max_limit: usizeThe server-side row cap; the execution site truncates to this many rows after stripping the sentinel.
requested_limit: Option<usize>The caller’s explicit LIMIT, if any, for warning-message purposes.
Trait Implementations§
Source§impl Clone for TruncationCheck
impl Clone for TruncationCheck
Source§fn clone(&self) -> TruncationCheck
fn clone(&self) -> TruncationCheck
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 TruncationCheck
Source§impl Debug for TruncationCheck
impl Debug for TruncationCheck
impl Eq for TruncationCheck
Source§impl PartialEq for TruncationCheck
impl PartialEq for TruncationCheck
impl StructuralPartialEq for TruncationCheck
Auto Trait Implementations§
impl Freeze for TruncationCheck
impl RefUnwindSafe for TruncationCheck
impl Send for TruncationCheck
impl Sync for TruncationCheck
impl Unpin for TruncationCheck
impl UnsafeUnpin for TruncationCheck
impl UnwindSafe for TruncationCheck
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