pub struct Evidence {Show 17 fields
pub name: String,
pub status: String,
pub duration_ms: u64,
pub artifact_refs: Vec<String>,
pub summary: String,
pub revision_id: Option<ObjectId>,
pub command: Option<String>,
pub exit_code: Option<i32>,
pub started_at_ms: Option<u64>,
pub ended_at_ms: Option<u64>,
pub environment_digest: Option<String>,
pub runner_identity: Option<String>,
pub log_digest: Option<String>,
pub artifact_digest: Option<String>,
pub expires_at_ms: Option<u64>,
pub trust_domain: Option<String>,
pub signature: Option<Vec<u8>>,
}Fields§
§name: String§status: String§duration_ms: u64§artifact_refs: Vec<String>§summary: String§revision_id: Option<ObjectId>§command: Option<String>§exit_code: Option<i32>§started_at_ms: Option<u64>§ended_at_ms: Option<u64>§environment_digest: Option<String>§runner_identity: Option<String>§log_digest: Option<String>§artifact_digest: Option<String>§expires_at_ms: Option<u64>§trust_domain: Option<String>§signature: Option<Vec<u8>>Implementations§
Source§impl Evidence
impl Evidence
Sourcepub fn command(&self) -> &str
pub fn command(&self) -> &str
Returns the value of command, or the default value if command is unset.
Sourcepub fn exit_code(&self) -> i32
pub fn exit_code(&self) -> i32
Returns the value of exit_code, or the default value if exit_code is unset.
Sourcepub fn started_at_ms(&self) -> u64
pub fn started_at_ms(&self) -> u64
Returns the value of started_at_ms, or the default value if started_at_ms is unset.
Sourcepub fn ended_at_ms(&self) -> u64
pub fn ended_at_ms(&self) -> u64
Returns the value of ended_at_ms, or the default value if ended_at_ms is unset.
Sourcepub fn environment_digest(&self) -> &str
pub fn environment_digest(&self) -> &str
Returns the value of environment_digest, or the default value if environment_digest is unset.
Sourcepub fn runner_identity(&self) -> &str
pub fn runner_identity(&self) -> &str
Returns the value of runner_identity, or the default value if runner_identity is unset.
Sourcepub fn log_digest(&self) -> &str
pub fn log_digest(&self) -> &str
Returns the value of log_digest, or the default value if log_digest is unset.
Sourcepub fn artifact_digest(&self) -> &str
pub fn artifact_digest(&self) -> &str
Returns the value of artifact_digest, or the default value if artifact_digest is unset.
Sourcepub fn expires_at_ms(&self) -> u64
pub fn expires_at_ms(&self) -> u64
Returns the value of expires_at_ms, or the default value if expires_at_ms is unset.
Sourcepub fn trust_domain(&self) -> &str
pub fn trust_domain(&self) -> &str
Returns the value of trust_domain, or the default value if trust_domain is unset.
Trait Implementations§
Source§impl Message for Evidence
impl Message for Evidence
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.