pub struct Subject {Show 17 fields
pub kind: SubjectKind,
pub job_id: Option<String>,
pub step_id: Option<String>,
pub action_ref: Option<String>,
pub image: Option<String>,
pub dockerfile: Option<String>,
pub runner_os: Option<RunnerOs>,
pub classification: Compatibility,
pub network_model: NetworkModel,
pub requires_docker: bool,
pub requires_build: bool,
pub requires_pull: bool,
pub credentials_redacted: Vec<String>,
pub env_redacted: Vec<String>,
pub probe: Option<ProbeReport>,
pub summary: ReceiptSummary,
pub checks: Vec<Check>,
}Expand description
One container subject in a receipt: a job container, a Docker action, or a Docker probe.
Fields§
§kind: SubjectKind§job_id: Option<String>§step_id: Option<String>§action_ref: Option<String>§image: Option<String>§dockerfile: Option<String>§runner_os: Option<RunnerOs>§classification: Compatibility§network_model: NetworkModel§requires_docker: bool§requires_build: bool§requires_pull: bool§credentials_redacted: Vec<String>§env_redacted: Vec<String>§probe: Option<ProbeReport>§summary: ReceiptSummary§checks: Vec<Check>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Subject
impl<'de> Deserialize<'de> for Subject
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 Subject
impl StructuralPartialEq for Subject
Auto Trait Implementations§
impl Freeze for Subject
impl RefUnwindSafe for Subject
impl Send for Subject
impl Sync for Subject
impl Unpin for Subject
impl UnsafeUnpin for Subject
impl UnwindSafe for Subject
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.