pub struct CheckState {
pub status: CheckStatus,
pub evidence: String,
pub reporter: String,
pub target_ref: Option<String>,
}Expand description
The latest report for one (subject, check name) pair.
Fields§
§status: CheckStatusWhat the check found.
evidence: StringWhere a human can read the run; may be empty.
reporter: StringChannel that reported it.
target_ref: Option<String>Ref the subject is proposed to land on, when the report named one. This is what the node’s ACL narrows a check on.
Trait Implementations§
Source§impl Clone for CheckState
impl Clone for CheckState
Source§fn clone(&self) -> CheckState
fn clone(&self) -> CheckState
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 CheckState
impl Debug for CheckState
Source§impl<'de> Deserialize<'de> for CheckState
impl<'de> Deserialize<'de> for CheckState
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 PartialEq for CheckState
impl PartialEq for CheckState
Source§fn eq(&self, other: &CheckState) -> bool
fn eq(&self, other: &CheckState) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CheckState
impl Serialize for CheckState
impl Eq for CheckState
impl StructuralPartialEq for CheckState
Auto Trait Implementations§
impl Freeze for CheckState
impl RefUnwindSafe for CheckState
impl Send for CheckState
impl Sync for CheckState
impl Unpin for CheckState
impl UnsafeUnpin for CheckState
impl UnwindSafe for CheckState
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