#[non_exhaustive]pub struct InsightTypeGenerationConfig {
pub params: Option<Struct>,
/* private fields */
}Expand description
A configuration to customize the generation of insights. Eg, customizing the lookback period considered when generating a insight.
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.params: Option<Struct>Parameters for this InsightTypeGenerationConfig. These configs can be used by or are applied to all subtypes.
Implementations§
Source§impl InsightTypeGenerationConfig
impl InsightTypeGenerationConfig
Sourcepub fn set_params<T>(self, v: T) -> Self
pub fn set_params<T>(self, v: T) -> Self
Sourcepub fn set_or_clear_params<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_params<T>(self, v: Option<T>) -> Self
Trait Implementations§
Source§impl Clone for InsightTypeGenerationConfig
impl Clone for InsightTypeGenerationConfig
Source§fn clone(&self) -> InsightTypeGenerationConfig
fn clone(&self) -> InsightTypeGenerationConfig
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 InsightTypeGenerationConfig
impl Debug for InsightTypeGenerationConfig
Source§impl Default for InsightTypeGenerationConfig
impl Default for InsightTypeGenerationConfig
Source§fn default() -> InsightTypeGenerationConfig
fn default() -> InsightTypeGenerationConfig
Returns the “default value” for a type. Read more
impl StructuralPartialEq for InsightTypeGenerationConfig
Auto Trait Implementations§
impl Freeze for InsightTypeGenerationConfig
impl RefUnwindSafe for InsightTypeGenerationConfig
impl Send for InsightTypeGenerationConfig
impl Sync for InsightTypeGenerationConfig
impl Unpin for InsightTypeGenerationConfig
impl UnsafeUnpin for InsightTypeGenerationConfig
impl UnwindSafe for InsightTypeGenerationConfig
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