pub struct RuntimeSamplerTemplate {
pub enabled_for_armed_runs: bool,
pub mode_override: Option<CaptureMode>,
pub interval_ms: Option<u64>,
pub max_runtime_snapshots: Option<usize>,
}Expand description
Runtime sampler template attached to controller activation settings.
Fields§
§enabled_for_armed_runs: boolEnables runtime sampler startup for armed runs.
mode_override: Option<CaptureMode>Optional mode override used by runtime sampler.
interval_ms: Option<u64>Optional interval override in milliseconds.
max_runtime_snapshots: Option<usize>Optional max runtime snapshots override.
Trait Implementations§
Source§impl Clone for RuntimeSamplerTemplate
impl Clone for RuntimeSamplerTemplate
Source§fn clone(&self) -> RuntimeSamplerTemplate
fn clone(&self) -> RuntimeSamplerTemplate
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 RuntimeSamplerTemplate
impl Debug for RuntimeSamplerTemplate
Source§impl Default for RuntimeSamplerTemplate
impl Default for RuntimeSamplerTemplate
Source§fn default() -> RuntimeSamplerTemplate
fn default() -> RuntimeSamplerTemplate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RuntimeSamplerTemplate
impl<'de> Deserialize<'de> for RuntimeSamplerTemplate
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RuntimeSamplerTemplate
impl PartialEq for RuntimeSamplerTemplate
Source§fn eq(&self, other: &RuntimeSamplerTemplate) -> bool
fn eq(&self, other: &RuntimeSamplerTemplate) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RuntimeSamplerTemplate
impl Serialize for RuntimeSamplerTemplate
impl Copy for RuntimeSamplerTemplate
impl Eq for RuntimeSamplerTemplate
impl StructuralPartialEq for RuntimeSamplerTemplate
Auto Trait Implementations§
impl Freeze for RuntimeSamplerTemplate
impl RefUnwindSafe for RuntimeSamplerTemplate
impl Send for RuntimeSamplerTemplate
impl Sync for RuntimeSamplerTemplate
impl Unpin for RuntimeSamplerTemplate
impl UnsafeUnpin for RuntimeSamplerTemplate
impl UnwindSafe for RuntimeSamplerTemplate
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.