pub struct AssertionResult {
pub description: String,
pub passed: bool,
pub message: Option<String>,
pub is_security: bool,
pub category: Option<String>,
}Expand description
Result of evaluating a single assertion.
Fields§
§description: String§passed: bool§message: Option<String>§is_security: bool§category: Option<String>Trait Implementations§
Source§impl Clone for AssertionResult
impl Clone for AssertionResult
Source§fn clone(&self) -> AssertionResult
fn clone(&self) -> AssertionResult
Returns a duplicate of the value. Read more
1.0.0 · 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 AssertionResult
impl Debug for AssertionResult
Source§impl<'de> Deserialize<'de> for AssertionResult
impl<'de> Deserialize<'de> for AssertionResult
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 AssertionResult
impl RefUnwindSafe for AssertionResult
impl Send for AssertionResult
impl Sync for AssertionResult
impl Unpin for AssertionResult
impl UnsafeUnpin for AssertionResult
impl UnwindSafe for AssertionResult
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