#[non_exhaustive]pub struct FilterTableColumns {
pub include_columns: Vec<String>,
pub exclude_columns: Vec<String>,
/* private fields */
}Expand description
Options to configure rule type FilterTableColumns. The rule is used to filter the list of columns to include or exclude from a table.
The rule filter field can refer to one entity.
The rule scope can be: Table
Only one of the two lists can be specified for the rule.
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.include_columns: Vec<String>Optional. List of columns to be included for a particular table.
exclude_columns: Vec<String>Optional. List of columns to be excluded for a particular table.
Implementations§
Source§impl FilterTableColumns
impl FilterTableColumns
pub fn new() -> Self
Sourcepub fn set_include_columns<T, V>(self, v: T) -> Self
pub fn set_include_columns<T, V>(self, v: T) -> Self
Sets the value of include_columns.
Sourcepub fn set_exclude_columns<T, V>(self, v: T) -> Self
pub fn set_exclude_columns<T, V>(self, v: T) -> Self
Sets the value of exclude_columns.
Trait Implementations§
Source§impl Clone for FilterTableColumns
impl Clone for FilterTableColumns
Source§fn clone(&self) -> FilterTableColumns
fn clone(&self) -> FilterTableColumns
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 FilterTableColumns
impl Debug for FilterTableColumns
Source§impl Default for FilterTableColumns
impl Default for FilterTableColumns
Source§fn default() -> FilterTableColumns
fn default() -> FilterTableColumns
Returns the “default value” for a type. Read more
Source§impl Message for FilterTableColumns
impl Message for FilterTableColumns
Source§impl PartialEq for FilterTableColumns
impl PartialEq for FilterTableColumns
impl StructuralPartialEq for FilterTableColumns
Auto Trait Implementations§
impl Freeze for FilterTableColumns
impl RefUnwindSafe for FilterTableColumns
impl Send for FilterTableColumns
impl Sync for FilterTableColumns
impl Unpin for FilterTableColumns
impl UnwindSafe for FilterTableColumns
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