#[non_exhaustive]pub struct VerifyJobRun {
pub build: String,
pub artifact_uri: String,
pub event_log_path: String,
pub failure_cause: FailureCause,
pub failure_message: String,
/* private fields */
}
Expand description
VerifyJobRun contains information specific to a verify JobRun
.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.build: String
Output only. The resource name of the Cloud Build Build
object that is
used to verify. Format is
projects/{project}/locations/{location}/builds/{build}
.
artifact_uri: String
Output only. URI of a directory containing the verify artifacts. This contains the Skaffold event log.
event_log_path: String
Output only. File path of the Skaffold event log relative to the artifact URI.
failure_cause: FailureCause
Output only. The reason the verify failed. This will always be unspecified while the verify is in progress or if it succeeded.
failure_message: String
Output only. Additional information about the verify failure, if available.
Implementations§
Source§impl VerifyJobRun
impl VerifyJobRun
pub fn new() -> Self
Sourcepub fn set_artifact_uri<T: Into<String>>(self, v: T) -> Self
pub fn set_artifact_uri<T: Into<String>>(self, v: T) -> Self
Sets the value of artifact_uri.
Sourcepub fn set_event_log_path<T: Into<String>>(self, v: T) -> Self
pub fn set_event_log_path<T: Into<String>>(self, v: T) -> Self
Sets the value of event_log_path.
Sourcepub fn set_failure_cause<T: Into<FailureCause>>(self, v: T) -> Self
pub fn set_failure_cause<T: Into<FailureCause>>(self, v: T) -> Self
Sets the value of failure_cause.
Sourcepub fn set_failure_message<T: Into<String>>(self, v: T) -> Self
pub fn set_failure_message<T: Into<String>>(self, v: T) -> Self
Sets the value of failure_message.
Trait Implementations§
Source§impl Clone for VerifyJobRun
impl Clone for VerifyJobRun
Source§fn clone(&self) -> VerifyJobRun
fn clone(&self) -> VerifyJobRun
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 VerifyJobRun
impl Debug for VerifyJobRun
Source§impl Default for VerifyJobRun
impl Default for VerifyJobRun
Source§fn default() -> VerifyJobRun
fn default() -> VerifyJobRun
Returns the “default value” for a type. Read more
Source§impl Message for VerifyJobRun
impl Message for VerifyJobRun
Source§impl PartialEq for VerifyJobRun
impl PartialEq for VerifyJobRun
impl StructuralPartialEq for VerifyJobRun
Auto Trait Implementations§
impl Freeze for VerifyJobRun
impl RefUnwindSafe for VerifyJobRun
impl Send for VerifyJobRun
impl Sync for VerifyJobRun
impl Unpin for VerifyJobRun
impl UnwindSafe for VerifyJobRun
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