pub struct PolicyCheck {
pub name: String,
pub passed: bool,
pub message: String,
}Expand description
A single policy check result.
Fields§
§name: StringName of the check.
passed: boolWhether the check passed.
message: StringDescription of the result.
Trait Implementations§
Source§impl Clone for PolicyCheck
impl Clone for PolicyCheck
Source§fn clone(&self) -> PolicyCheck
fn clone(&self) -> PolicyCheck
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 PolicyCheck
impl Debug for PolicyCheck
Source§impl<'de> Deserialize<'de> for PolicyCheck
impl<'de> Deserialize<'de> for PolicyCheck
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 PolicyCheck
impl RefUnwindSafe for PolicyCheck
impl Send for PolicyCheck
impl Sync for PolicyCheck
impl Unpin for PolicyCheck
impl UnwindSafe for PolicyCheck
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