#[non_exhaustive]pub struct SelectedFields {
pub field_names: Vec<String>,
/* private fields */
}Expand description
The specification for fields to include or exclude in data profile scan.
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.field_names: Vec<String>Optional. Expected input is a list of fully qualified names of fields as in the schema.
Only top-level field names for nested fields are supported. For instance, if ‘x’ is of nested field type, listing ‘x’ is supported but ‘x.y.z’ is not supported. Here ‘y’ and ‘y.z’ are nested fields of ‘x’.
Implementations§
Source§impl SelectedFields
impl SelectedFields
pub fn new() -> Self
Sourcepub fn set_field_names<T, V>(self, v: T) -> Self
pub fn set_field_names<T, V>(self, v: T) -> Self
Sets the value of field_names.
Trait Implementations§
Source§impl Clone for SelectedFields
impl Clone for SelectedFields
Source§fn clone(&self) -> SelectedFields
fn clone(&self) -> SelectedFields
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 SelectedFields
impl Debug for SelectedFields
Source§impl Default for SelectedFields
impl Default for SelectedFields
Source§fn default() -> SelectedFields
fn default() -> SelectedFields
Returns the “default value” for a type. Read more
Source§impl Message for SelectedFields
impl Message for SelectedFields
Source§impl PartialEq for SelectedFields
impl PartialEq for SelectedFields
impl StructuralPartialEq for SelectedFields
Auto Trait Implementations§
impl Freeze for SelectedFields
impl RefUnwindSafe for SelectedFields
impl Send for SelectedFields
impl Sync for SelectedFields
impl Unpin for SelectedFields
impl UnwindSafe for SelectedFields
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