pub struct Diagnostics {
pub error_code: Option<String>,
pub log_tail: Option<String>,
pub message: Option<String>,
pub script_name: Option<String>,
}
Expand description
Diagnostic information about executable scripts that are part of a deployment.
Fields§
§error_code: Option<String>
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.
log_tail: Option<String>
The last portion of the diagnostic log.
If available, AWS CodeDeploy returns up to the last 4 KB of the diagnostic log.
message: Option<String>
The message associated with the error.
script_name: Option<String>
The name of the script.
Trait Implementations§
Source§impl Clone for Diagnostics
impl Clone for Diagnostics
Source§fn clone(&self) -> Diagnostics
fn clone(&self) -> Diagnostics
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 Diagnostics
impl Debug for Diagnostics
Source§impl Default for Diagnostics
impl Default for Diagnostics
Source§fn default() -> Diagnostics
fn default() -> Diagnostics
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Diagnostics
impl<'de> Deserialize<'de> for Diagnostics
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
Source§impl PartialEq for Diagnostics
impl PartialEq for Diagnostics
impl StructuralPartialEq for Diagnostics
Auto Trait Implementations§
impl Freeze for Diagnostics
impl RefUnwindSafe for Diagnostics
impl Send for Diagnostics
impl Sync for Diagnostics
impl Unpin for Diagnostics
impl UnwindSafe for Diagnostics
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