Struct aws_sdk_nimble::types::ValidationResult
source · #[non_exhaustive]pub struct ValidationResult {
pub type: LaunchProfileValidationType,
pub state: LaunchProfileValidationState,
pub status_code: LaunchProfileValidationStatusCode,
pub status_message: String,
}Expand description
The launch profile validation result.
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.type: LaunchProfileValidationTypeThe type of the validation result.
state: LaunchProfileValidationStateThe current state.
status_code: LaunchProfileValidationStatusCodeThe status code. This will contain the failure reason if the state is VALIDATION_FAILED.
status_message: StringThe status message for the validation result.
Implementations§
source§impl ValidationResult
impl ValidationResult
sourcepub fn type(&self) -> &LaunchProfileValidationType
pub fn type(&self) -> &LaunchProfileValidationType
The type of the validation result.
sourcepub fn state(&self) -> &LaunchProfileValidationState
pub fn state(&self) -> &LaunchProfileValidationState
The current state.
sourcepub fn status_code(&self) -> &LaunchProfileValidationStatusCode
pub fn status_code(&self) -> &LaunchProfileValidationStatusCode
The status code. This will contain the failure reason if the state is VALIDATION_FAILED.
sourcepub fn status_message(&self) -> &str
pub fn status_message(&self) -> &str
The status message for the validation result.
source§impl ValidationResult
impl ValidationResult
sourcepub fn builder() -> ValidationResultBuilder
pub fn builder() -> ValidationResultBuilder
Creates a new builder-style object to manufacture ValidationResult.
Trait Implementations§
source§impl Clone for ValidationResult
impl Clone for ValidationResult
source§fn clone(&self) -> ValidationResult
fn clone(&self) -> ValidationResult
Returns a copy 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 ValidationResult
impl Debug for ValidationResult
source§impl PartialEq for ValidationResult
impl PartialEq for ValidationResult
source§fn eq(&self, other: &ValidationResult) -> bool
fn eq(&self, other: &ValidationResult) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ValidationResult
Auto Trait Implementations§
impl RefUnwindSafe for ValidationResult
impl Send for ValidationResult
impl Sync for ValidationResult
impl Unpin for ValidationResult
impl UnwindSafe for ValidationResult
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.