#[non_exhaustive]pub struct ShotChangeDetectionConfig {
pub model: String,
/* private fields */
}Expand description
Config for SHOT_CHANGE_DETECTION.
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.model: StringModel to use for shot change detection. Supported values: “builtin/stable” (the default if unset) and “builtin/latest”.
Implementations§
Trait Implementations§
Source§impl Clone for ShotChangeDetectionConfig
impl Clone for ShotChangeDetectionConfig
Source§fn clone(&self) -> ShotChangeDetectionConfig
fn clone(&self) -> ShotChangeDetectionConfig
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 ShotChangeDetectionConfig
impl Debug for ShotChangeDetectionConfig
Source§impl Default for ShotChangeDetectionConfig
impl Default for ShotChangeDetectionConfig
Source§fn default() -> ShotChangeDetectionConfig
fn default() -> ShotChangeDetectionConfig
Returns the “default value” for a type. Read more
Source§impl Message for ShotChangeDetectionConfig
impl Message for ShotChangeDetectionConfig
Source§impl PartialEq for ShotChangeDetectionConfig
impl PartialEq for ShotChangeDetectionConfig
Source§fn eq(&self, other: &ShotChangeDetectionConfig) -> bool
fn eq(&self, other: &ShotChangeDetectionConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ShotChangeDetectionConfig
Auto Trait Implementations§
impl Freeze for ShotChangeDetectionConfig
impl RefUnwindSafe for ShotChangeDetectionConfig
impl Send for ShotChangeDetectionConfig
impl Sync for ShotChangeDetectionConfig
impl Unpin for ShotChangeDetectionConfig
impl UnsafeUnpin for ShotChangeDetectionConfig
impl UnwindSafe for ShotChangeDetectionConfig
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