#[non_exhaustive]pub struct SourceNumericFilter {
pub source_min_scale_filter: i32,
pub source_max_scale_filter: i32,
pub source_min_precision_filter: i32,
pub source_max_precision_filter: i32,
pub numeric_filter_option: NumericFilterOption,
/* private fields */
}Expand description
Filter for fixed point number data types such as NUMERIC/NUMBER
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.source_min_scale_filter: i32Optional. The filter will match columns with scale greater than or equal to this number.
source_max_scale_filter: i32Optional. The filter will match columns with scale smaller than or equal to this number.
source_min_precision_filter: i32Optional. The filter will match columns with precision greater than or equal to this number.
source_max_precision_filter: i32Optional. The filter will match columns with precision smaller than or equal to this number.
numeric_filter_option: NumericFilterOptionRequired. Enum to set the option defining the datatypes numeric filter has to be applied to
Implementations§
Source§impl SourceNumericFilter
impl SourceNumericFilter
pub fn new() -> Self
Sourcepub fn set_source_min_scale_filter<T: Into<i32>>(self, v: T) -> Self
pub fn set_source_min_scale_filter<T: Into<i32>>(self, v: T) -> Self
Sets the value of source_min_scale_filter.
Sourcepub fn set_source_max_scale_filter<T: Into<i32>>(self, v: T) -> Self
pub fn set_source_max_scale_filter<T: Into<i32>>(self, v: T) -> Self
Sets the value of source_max_scale_filter.
Sourcepub fn set_source_min_precision_filter<T: Into<i32>>(self, v: T) -> Self
pub fn set_source_min_precision_filter<T: Into<i32>>(self, v: T) -> Self
Sets the value of source_min_precision_filter.
Sourcepub fn set_source_max_precision_filter<T: Into<i32>>(self, v: T) -> Self
pub fn set_source_max_precision_filter<T: Into<i32>>(self, v: T) -> Self
Sets the value of source_max_precision_filter.
Sourcepub fn set_numeric_filter_option<T: Into<NumericFilterOption>>(
self,
v: T,
) -> Self
pub fn set_numeric_filter_option<T: Into<NumericFilterOption>>( self, v: T, ) -> Self
Sets the value of numeric_filter_option.
Trait Implementations§
Source§impl Clone for SourceNumericFilter
impl Clone for SourceNumericFilter
Source§fn clone(&self) -> SourceNumericFilter
fn clone(&self) -> SourceNumericFilter
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 SourceNumericFilter
impl Debug for SourceNumericFilter
Source§impl Default for SourceNumericFilter
impl Default for SourceNumericFilter
Source§fn default() -> SourceNumericFilter
fn default() -> SourceNumericFilter
Returns the “default value” for a type. Read more
Source§impl Message for SourceNumericFilter
impl Message for SourceNumericFilter
Source§impl PartialEq for SourceNumericFilter
impl PartialEq for SourceNumericFilter
impl StructuralPartialEq for SourceNumericFilter
Auto Trait Implementations§
impl Freeze for SourceNumericFilter
impl RefUnwindSafe for SourceNumericFilter
impl Send for SourceNumericFilter
impl Sync for SourceNumericFilter
impl Unpin for SourceNumericFilter
impl UnwindSafe for SourceNumericFilter
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