Struct aws_sdk_nimble::types::ValidationResult
source · #[non_exhaustive]pub struct ValidationResult {
pub type: Option<LaunchProfileValidationType>,
pub state: Option<LaunchProfileValidationState>,
pub status_code: Option<LaunchProfileValidationStatusCode>,
pub status_message: Option<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: Option<LaunchProfileValidationType>The type of the validation result.
state: Option<LaunchProfileValidationState>The current state.
status_code: Option<LaunchProfileValidationStatusCode>The status code. This will contain the failure reason if the state is VALIDATION_FAILED.
status_message: Option<String>The status message for the validation result.
Implementations§
source§impl ValidationResult
impl ValidationResult
sourcepub fn type(&self) -> Option<&LaunchProfileValidationType>
pub fn type(&self) -> Option<&LaunchProfileValidationType>
The type of the validation result.
sourcepub fn state(&self) -> Option<&LaunchProfileValidationState>
pub fn state(&self) -> Option<&LaunchProfileValidationState>
The current state.
sourcepub fn status_code(&self) -> Option<&LaunchProfileValidationStatusCode>
pub fn status_code(&self) -> Option<&LaunchProfileValidationStatusCode>
The status code. This will contain the failure reason if the state is VALIDATION_FAILED.
sourcepub fn status_message(&self) -> Option<&str>
pub fn status_message(&self) -> Option<&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<ValidationResult> for ValidationResult
impl PartialEq<ValidationResult> 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