pub struct PreconditionResult {
pub status: String,
pub checks: Vec<PreconditionCheck>,
}Fields§
§status: String§checks: Vec<PreconditionCheck>Per-predicate evaluation results (IR v0.3): each {predicate, outcome}. In v0.2 this was a
free-form string list; v0.3 makes it structured now that predicates are really evaluated.
Trait Implementations§
Source§impl Clone for PreconditionResult
impl Clone for PreconditionResult
Source§fn clone(&self) -> PreconditionResult
fn clone(&self) -> PreconditionResult
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 PreconditionResult
impl Debug for PreconditionResult
Source§impl<'de> Deserialize<'de> for PreconditionResult
impl<'de> Deserialize<'de> for PreconditionResult
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
Auto Trait Implementations§
impl Freeze for PreconditionResult
impl RefUnwindSafe for PreconditionResult
impl Send for PreconditionResult
impl Sync for PreconditionResult
impl Unpin for PreconditionResult
impl UnsafeUnpin for PreconditionResult
impl UnwindSafe for PreconditionResult
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