#[non_exhaustive]pub struct SuggestionConfig {
pub skip_suggestion_steps: Vec<SuggestionStep>,
/* private fields */
}Expand description
The configuration for the suggestion if requested as a target type.
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.skip_suggestion_steps: Vec<SuggestionStep>The list of suggestion steps to skip.
Implementations§
Source§impl SuggestionConfig
impl SuggestionConfig
Sourcepub fn set_skip_suggestion_steps<T, V>(self, v: T) -> Self
pub fn set_skip_suggestion_steps<T, V>(self, v: T) -> Self
Sets the value of skip_suggestion_steps.
§Example
ⓘ
use google_cloud_bigquery_migration_v2::model::SuggestionStep;
let x = SuggestionConfig::new()
.set_skip_suggestion_steps([
SuggestionStep::default()/* use setters */,
SuggestionStep::default()/* use (different) setters */,
]);Trait Implementations§
Source§impl Clone for SuggestionConfig
impl Clone for SuggestionConfig
Source§fn clone(&self) -> SuggestionConfig
fn clone(&self) -> SuggestionConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SuggestionConfig
impl Debug for SuggestionConfig
Source§impl Default for SuggestionConfig
impl Default for SuggestionConfig
Source§fn default() -> SuggestionConfig
fn default() -> SuggestionConfig
Returns the “default value” for a type. Read more
Source§impl Message for SuggestionConfig
impl Message for SuggestionConfig
Source§impl PartialEq for SuggestionConfig
impl PartialEq for SuggestionConfig
Source§fn eq(&self, other: &SuggestionConfig) -> bool
fn eq(&self, other: &SuggestionConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SuggestionConfig
Auto Trait Implementations§
impl Freeze for SuggestionConfig
impl RefUnwindSafe for SuggestionConfig
impl Send for SuggestionConfig
impl Sync for SuggestionConfig
impl Unpin for SuggestionConfig
impl UnsafeUnpin for SuggestionConfig
impl UnwindSafe for SuggestionConfig
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