Struct aws_sdk_greengrassv2::model::ComponentDependencyRequirement [−][src]
#[non_exhaustive]pub struct ComponentDependencyRequirement {
pub version_requirement: Option<String>,
pub dependency_type: Option<ComponentDependencyType>,
}
Expand description
Contains information about a component dependency for a Lambda function component.
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.version_requirement: Option<String>
The component version requirement for the component dependency.
IoT Greengrass V2 uses semantic version constraints. For more information, see Semantic Versioning.
dependency_type: Option<ComponentDependencyType>
The type of this dependency. Choose from the following options:
-
SOFT
– The component doesn't restart if the dependency changes state. -
HARD
– The component restarts if the dependency changes state.
Default: HARD
Implementations
Creates a new builder-style object to manufacture ComponentDependencyRequirement
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for ComponentDependencyRequirement
impl Sync for ComponentDependencyRequirement
impl Unpin for ComponentDependencyRequirement
impl UnwindSafe for ComponentDependencyRequirement
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more