#[non_exhaustive]pub struct MonitoringStoppingCondition {
pub max_runtime_in_seconds: i32,
}
Expand description
A time limit for how long the monitoring job is allowed to run before stopping.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.max_runtime_in_seconds: i32
The maximum runtime allowed in seconds.
The MaxRuntimeInSeconds
cannot exceed the frequency of the job. For data quality and model explainability, this can be up to 3600 seconds for an hourly schedule. For model bias and model quality hourly schedules, this can be up to 1800 seconds.
Implementations
sourceimpl MonitoringStoppingCondition
impl MonitoringStoppingCondition
sourcepub fn max_runtime_in_seconds(&self) -> i32
pub fn max_runtime_in_seconds(&self) -> i32
The maximum runtime allowed in seconds.
The MaxRuntimeInSeconds
cannot exceed the frequency of the job. For data quality and model explainability, this can be up to 3600 seconds for an hourly schedule. For model bias and model quality hourly schedules, this can be up to 1800 seconds.
sourceimpl MonitoringStoppingCondition
impl MonitoringStoppingCondition
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture MonitoringStoppingCondition
Trait Implementations
sourceimpl Clone for MonitoringStoppingCondition
impl Clone for MonitoringStoppingCondition
sourcefn clone(&self) -> MonitoringStoppingCondition
fn clone(&self) -> MonitoringStoppingCondition
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for MonitoringStoppingCondition
impl Debug for MonitoringStoppingCondition
sourceimpl PartialEq<MonitoringStoppingCondition> for MonitoringStoppingCondition
impl PartialEq<MonitoringStoppingCondition> for MonitoringStoppingCondition
sourcefn eq(&self, other: &MonitoringStoppingCondition) -> bool
fn eq(&self, other: &MonitoringStoppingCondition) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MonitoringStoppingCondition) -> bool
fn ne(&self, other: &MonitoringStoppingCondition) -> bool
This method tests for !=
.
impl StructuralPartialEq for MonitoringStoppingCondition
Auto Trait Implementations
impl RefUnwindSafe for MonitoringStoppingCondition
impl Send for MonitoringStoppingCondition
impl Sync for MonitoringStoppingCondition
impl Unpin for MonitoringStoppingCondition
impl UnwindSafe for MonitoringStoppingCondition
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more