Struct aws_sdk_codedeploy::model::Diagnostics
source · [−]#[non_exhaustive]pub struct Diagnostics { /* private fields */ }
Expand description
Diagnostic information about executable scripts that are part of a deployment.
Implementations
sourceimpl Diagnostics
impl Diagnostics
sourcepub fn error_code(&self) -> Option<&LifecycleErrorCode>
pub fn error_code(&self) -> Option<&LifecycleErrorCode>
The associated error code:
-
Success: The specified script ran.
-
ScriptMissing: The specified script was not found in the specified location.
-
ScriptNotExecutable: The specified script is not a recognized executable file type.
-
ScriptTimedOut: The specified script did not finish running in the specified time period.
-
ScriptFailed: The specified script failed to run as expected.
-
UnknownError: The specified script did not run for an unknown reason.
sourcepub fn script_name(&self) -> Option<&str>
pub fn script_name(&self) -> Option<&str>
The name of the script.
sourceimpl Diagnostics
impl Diagnostics
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture Diagnostics
.
Trait Implementations
sourceimpl Clone for Diagnostics
impl Clone for Diagnostics
sourcefn clone(&self) -> Diagnostics
fn clone(&self) -> Diagnostics
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for Diagnostics
impl Debug for Diagnostics
sourceimpl PartialEq<Diagnostics> for Diagnostics
impl PartialEq<Diagnostics> for Diagnostics
sourcefn eq(&self, other: &Diagnostics) -> bool
fn eq(&self, other: &Diagnostics) -> bool
impl StructuralPartialEq for Diagnostics
Auto Trait Implementations
impl RefUnwindSafe for Diagnostics
impl Send for Diagnostics
impl Sync for Diagnostics
impl Unpin for Diagnostics
impl UnwindSafe for Diagnostics
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more