pub struct TruncationInfo {
pub indicator: Option<usize>,
pub buffer_index: usize,
}
Expand description
Returned by RowSetBuffer::find_truncation
. Contains information about the truncation found.
Fields§
§indicator: Option<usize>
Length of the untruncated value if known
buffer_index: usize
Zero based buffer index of the column in which the truncation occurred.
Trait Implementations§
Source§impl Clone for TruncationInfo
impl Clone for TruncationInfo
Source§fn clone(&self) -> TruncationInfo
fn clone(&self) -> TruncationInfo
Returns a copy of the value. Read more
1.0.0 · 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 TruncationInfo
impl Debug for TruncationInfo
Source§impl PartialEq for TruncationInfo
impl PartialEq for TruncationInfo
impl Copy for TruncationInfo
impl Eq for TruncationInfo
impl StructuralPartialEq for TruncationInfo
Auto Trait Implementations§
impl Freeze for TruncationInfo
impl RefUnwindSafe for TruncationInfo
impl Send for TruncationInfo
impl Sync for TruncationInfo
impl Unpin for TruncationInfo
impl UnwindSafe for TruncationInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)