pub struct CheckDescriptor {
pub name: String,
pub class: CheckClass,
pub definition_digest: String,
pub command: Vec<String>,
pub image_digest: Option<String>,
pub toolchain: Option<String>,
pub params: BTreeMap<String, String>,
pub services: Vec<String>,
pub node_id: Option<String>,
}Expand description
Check identity, command, and resolved inputs.
Fields§
§name: StringUnique check name within the repository definition.
class: CheckClassWhether the check gates, advises, or only informs.
definition_digest: StringDigest of the authored check definition.
command: Vec<String>Exact argument vector executed by the check.
image_digest: Option<String>Optional immutable container image digest.
toolchain: Option<String>Optional toolchain identifier.
params: BTreeMap<String, String>Sorted resolved parameters, preventing cheap-check substitution.
services: Vec<String>Service containers required by the check.
node_id: Option<String>Check node within the body-level CheckSet.
Trait Implementations§
Source§impl Clone for CheckDescriptor
impl Clone for CheckDescriptor
Source§fn clone(&self) -> CheckDescriptor
fn clone(&self) -> CheckDescriptor
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 CheckDescriptor
impl Debug for CheckDescriptor
Source§impl Default for CheckDescriptor
impl Default for CheckDescriptor
Source§fn default() -> CheckDescriptor
fn default() -> CheckDescriptor
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CheckDescriptor
impl<'de> Deserialize<'de> for CheckDescriptor
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
impl Eq for CheckDescriptor
Source§impl PartialEq for CheckDescriptor
impl PartialEq for CheckDescriptor
Source§impl Serialize for CheckDescriptor
impl Serialize for CheckDescriptor
impl StructuralPartialEq for CheckDescriptor
Auto Trait Implementations§
impl Freeze for CheckDescriptor
impl RefUnwindSafe for CheckDescriptor
impl Send for CheckDescriptor
impl Sync for CheckDescriptor
impl Unpin for CheckDescriptor
impl UnsafeUnpin for CheckDescriptor
impl UnwindSafe for CheckDescriptor
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