pub struct RuntimeCriterion { /* private fields */ }Implementations§
Source§impl RuntimeCriterion
impl RuntimeCriterion
pub fn new( is_fulfilled: bool, failure_explaination: Option<Text>, inner: InnerRuntimeCriterion, ) -> Self
pub fn new_fulfilled(inner: InnerRuntimeCriterion) -> Self
pub fn new_unfulfilled( failure_explaination: Option<Text>, inner: InnerRuntimeCriterion, ) -> Self
pub fn is_fulfilled(&self) -> bool
pub fn is_not_fulfilled(&self) -> bool
pub fn failure_explaination(&self) -> Option<&Text>
pub fn set_failure_explaination_if_failed( self, failure_explaination: Option<ValueReference>, overwrite_existing: bool, ) -> Machine<RuntimeCriterion>
Trait Implementations§
Source§impl Clone for RuntimeCriterion
impl Clone for RuntimeCriterion
Source§fn clone(&self) -> RuntimeCriterion
fn clone(&self) -> RuntimeCriterion
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 RuntimeCriterion
impl Debug for RuntimeCriterion
Source§impl<'de> Deserialize<'de> for RuntimeCriterion
impl<'de> Deserialize<'de> for RuntimeCriterion
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 From<RuntimeCriterion> for ProcessedTestStatus
impl From<RuntimeCriterion> for ProcessedTestStatus
Source§fn from(value: RuntimeCriterion) -> Self
fn from(value: RuntimeCriterion) -> Self
Converts to this type from the input type.
Source§impl<E> From<RuntimeCriterion> for RuntimeAny<E>
impl<E> From<RuntimeCriterion> for RuntimeAny<E>
Source§fn from(value: RuntimeCriterion) -> Self
fn from(value: RuntimeCriterion) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RuntimeCriterion
impl PartialEq for RuntimeCriterion
Source§fn eq(&self, other: &RuntimeCriterion) -> bool
fn eq(&self, other: &RuntimeCriterion) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for RuntimeCriterion
impl PartialOrd for RuntimeCriterion
Source§impl Serialize for RuntimeCriterion
impl Serialize for RuntimeCriterion
impl StructuralPartialEq for RuntimeCriterion
Auto Trait Implementations§
impl Freeze for RuntimeCriterion
impl RefUnwindSafe for RuntimeCriterion
impl Send for RuntimeCriterion
impl Sync for RuntimeCriterion
impl Unpin for RuntimeCriterion
impl UnsafeUnpin for RuntimeCriterion
impl UnwindSafe for RuntimeCriterion
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more