#[non_exhaustive]pub struct SourceTextFilter {
pub source_min_length_filter: i64,
pub source_max_length_filter: i64,
/* private fields */
}Expand description
Filter for text-based data types like varchar.
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_length_filter: i64Optional. The filter will match columns with length greater than or equal to this number.
source_max_length_filter: i64Optional. The filter will match columns with length smaller than or equal to this number.
Implementations§
Source§impl SourceTextFilter
impl SourceTextFilter
pub fn new() -> Self
Sourcepub fn set_source_min_length_filter<T: Into<i64>>(self, v: T) -> Self
pub fn set_source_min_length_filter<T: Into<i64>>(self, v: T) -> Self
Sets the value of source_min_length_filter.
Sourcepub fn set_source_max_length_filter<T: Into<i64>>(self, v: T) -> Self
pub fn set_source_max_length_filter<T: Into<i64>>(self, v: T) -> Self
Sets the value of source_max_length_filter.
Trait Implementations§
Source§impl Clone for SourceTextFilter
impl Clone for SourceTextFilter
Source§fn clone(&self) -> SourceTextFilter
fn clone(&self) -> SourceTextFilter
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 SourceTextFilter
impl Debug for SourceTextFilter
Source§impl Default for SourceTextFilter
impl Default for SourceTextFilter
Source§fn default() -> SourceTextFilter
fn default() -> SourceTextFilter
Returns the “default value” for a type. Read more
Source§impl Message for SourceTextFilter
impl Message for SourceTextFilter
Source§impl PartialEq for SourceTextFilter
impl PartialEq for SourceTextFilter
impl StructuralPartialEq for SourceTextFilter
Auto Trait Implementations§
impl Freeze for SourceTextFilter
impl RefUnwindSafe for SourceTextFilter
impl Send for SourceTextFilter
impl Sync for SourceTextFilter
impl Unpin for SourceTextFilter
impl UnwindSafe for SourceTextFilter
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