#[non_exhaustive]pub struct DeploymentConfigurationValidationPolicy {
pub timeout_in_seconds: Option<i32>,
}Expand description
Contains information about how long a component on a core device can validate its configuration updates before it times out. Components can use the SubscribeToValidateConfigurationUpdates IPC operation to receive notifications when a deployment specifies a configuration update. Then, components can respond with the SendConfigurationValidityReport IPC operation. For more information, see Create deployments in the IoT Greengrass V2 Developer Guide.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.timeout_in_seconds: Option<i32>The amount of time in seconds that a component can validate its configuration updates. If the validation time exceeds this timeout, then the deployment proceeds for the device.
Default: 30
Implementations§
source§impl DeploymentConfigurationValidationPolicy
impl DeploymentConfigurationValidationPolicy
sourcepub fn timeout_in_seconds(&self) -> Option<i32>
pub fn timeout_in_seconds(&self) -> Option<i32>
The amount of time in seconds that a component can validate its configuration updates. If the validation time exceeds this timeout, then the deployment proceeds for the device.
Default: 30
source§impl DeploymentConfigurationValidationPolicy
impl DeploymentConfigurationValidationPolicy
sourcepub fn builder() -> DeploymentConfigurationValidationPolicyBuilder
pub fn builder() -> DeploymentConfigurationValidationPolicyBuilder
Creates a new builder-style object to manufacture DeploymentConfigurationValidationPolicy.
Trait Implementations§
source§impl Clone for DeploymentConfigurationValidationPolicy
impl Clone for DeploymentConfigurationValidationPolicy
source§fn clone(&self) -> DeploymentConfigurationValidationPolicy
fn clone(&self) -> DeploymentConfigurationValidationPolicy
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for DeploymentConfigurationValidationPolicy
impl PartialEq for DeploymentConfigurationValidationPolicy
source§fn eq(&self, other: &DeploymentConfigurationValidationPolicy) -> bool
fn eq(&self, other: &DeploymentConfigurationValidationPolicy) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DeploymentConfigurationValidationPolicy
Auto Trait Implementations§
impl Freeze for DeploymentConfigurationValidationPolicy
impl RefUnwindSafe for DeploymentConfigurationValidationPolicy
impl Send for DeploymentConfigurationValidationPolicy
impl Sync for DeploymentConfigurationValidationPolicy
impl Unpin for DeploymentConfigurationValidationPolicy
impl UnwindSafe for DeploymentConfigurationValidationPolicy
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more