#[non_exhaustive]pub struct ScannedData {
pub data_range: Option<DataRange>,
/* private fields */
}Expand description
The data scanned during processing (e.g. in incremental DataScan)
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.data_range: Option<DataRange>The range of scanned data
Implementations§
Source§impl ScannedData
impl ScannedData
pub fn new() -> Self
Sourcepub fn set_data_range<T: Into<Option<DataRange>>>(self, v: T) -> Self
pub fn set_data_range<T: Into<Option<DataRange>>>(self, v: T) -> Self
Sets the value of data_range.
Note that all the setters affecting data_range are mutually
exclusive.
Sourcepub fn incremental_field(&self) -> Option<&Box<IncrementalField>>
pub fn incremental_field(&self) -> Option<&Box<IncrementalField>>
The value of data_range
if it holds a IncrementalField, None if the field is not set or
holds a different branch.
Sourcepub fn set_incremental_field<T: Into<Box<IncrementalField>>>(self, v: T) -> Self
pub fn set_incremental_field<T: Into<Box<IncrementalField>>>(self, v: T) -> Self
Sets the value of data_range
to hold a IncrementalField.
Note that all the setters affecting data_range are
mutually exclusive.
Trait Implementations§
Source§impl Clone for ScannedData
impl Clone for ScannedData
Source§fn clone(&self) -> ScannedData
fn clone(&self) -> ScannedData
Returns a duplicate 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 ScannedData
impl Debug for ScannedData
Source§impl Default for ScannedData
impl Default for ScannedData
Source§fn default() -> ScannedData
fn default() -> ScannedData
Returns the “default value” for a type. Read more
Source§impl Message for ScannedData
impl Message for ScannedData
Source§impl PartialEq for ScannedData
impl PartialEq for ScannedData
impl StructuralPartialEq for ScannedData
Auto Trait Implementations§
impl Freeze for ScannedData
impl RefUnwindSafe for ScannedData
impl Send for ScannedData
impl Sync for ScannedData
impl Unpin for ScannedData
impl UnwindSafe for ScannedData
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