Struct aws_sdk_greengrassv2::types::Deployment
source · #[non_exhaustive]pub struct Deployment {
pub target_arn: Option<String>,
pub revision_id: Option<String>,
pub deployment_id: Option<String>,
pub deployment_name: Option<String>,
pub creation_timestamp: Option<DateTime>,
pub deployment_status: Option<DeploymentStatus>,
pub is_latest_for_target: bool,
pub parent_target_arn: Option<String>,
}Expand description
Contains information about a deployment.
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.target_arn: Option<String>The ARN of the target IoT thing or thing group. When creating a subdeployment, the targetARN can only be a thing group.
revision_id: Option<String>The revision number of the deployment.
deployment_id: Option<String>The ID of the deployment.
deployment_name: Option<String>The name of the deployment.
creation_timestamp: Option<DateTime>The time at which the deployment was created, expressed in ISO 8601 format.
deployment_status: Option<DeploymentStatus>The status of the deployment.
is_latest_for_target: boolWhether or not the deployment is the latest revision for its target.
parent_target_arn: Option<String>The parent deployment's target ARN within a subdeployment.
Implementations§
source§impl Deployment
impl Deployment
sourcepub fn target_arn(&self) -> Option<&str>
pub fn target_arn(&self) -> Option<&str>
The ARN of the target IoT thing or thing group. When creating a subdeployment, the targetARN can only be a thing group.
sourcepub fn revision_id(&self) -> Option<&str>
pub fn revision_id(&self) -> Option<&str>
The revision number of the deployment.
sourcepub fn deployment_id(&self) -> Option<&str>
pub fn deployment_id(&self) -> Option<&str>
The ID of the deployment.
sourcepub fn deployment_name(&self) -> Option<&str>
pub fn deployment_name(&self) -> Option<&str>
The name of the deployment.
sourcepub fn creation_timestamp(&self) -> Option<&DateTime>
pub fn creation_timestamp(&self) -> Option<&DateTime>
The time at which the deployment was created, expressed in ISO 8601 format.
sourcepub fn deployment_status(&self) -> Option<&DeploymentStatus>
pub fn deployment_status(&self) -> Option<&DeploymentStatus>
The status of the deployment.
sourcepub fn is_latest_for_target(&self) -> bool
pub fn is_latest_for_target(&self) -> bool
Whether or not the deployment is the latest revision for its target.
sourcepub fn parent_target_arn(&self) -> Option<&str>
pub fn parent_target_arn(&self) -> Option<&str>
The parent deployment's target ARN within a subdeployment.
source§impl Deployment
impl Deployment
sourcepub fn builder() -> DeploymentBuilder
pub fn builder() -> DeploymentBuilder
Creates a new builder-style object to manufacture Deployment.
Trait Implementations§
source§impl Clone for Deployment
impl Clone for Deployment
source§fn clone(&self) -> Deployment
fn clone(&self) -> Deployment
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for Deployment
impl Debug for Deployment
source§impl PartialEq for Deployment
impl PartialEq for Deployment
impl StructuralPartialEq for Deployment
Auto Trait Implementations§
impl Freeze for Deployment
impl RefUnwindSafe for Deployment
impl Send for Deployment
impl Sync for Deployment
impl Unpin for Deployment
impl UnwindSafe for Deployment
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