#[non_exhaustive]pub struct ProjectDescription {
pub arn: Option<String>,
pub project_name: String,
pub description: Option<String>,
pub created_date: DateTime,
pub updated_date: DateTime,
pub placement_template: Option<PlacementTemplate>,
pub tags: Option<HashMap<String, String>>,
}
Expand description
An object providing detailed information for a particular project associated with an AWS account and region.
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.arn: Option<String>
The ARN of the project.
project_name: String
The name of the project for which to obtain information from.
description: Option<String>
The description of the project.
created_date: DateTime
The date when the project was originally created, in UNIX epoch time format.
updated_date: DateTime
The date when the project was last updated, in UNIX epoch time format. If the project was not updated, then createdDate
and updatedDate
are the same.
placement_template: Option<PlacementTemplate>
An object describing the project's placement specifications.
The tags (metadata key/value pairs) associated with the project.
Implementations§
source§impl ProjectDescription
impl ProjectDescription
sourcepub fn project_name(&self) -> &str
pub fn project_name(&self) -> &str
The name of the project for which to obtain information from.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the project.
sourcepub fn created_date(&self) -> &DateTime
pub fn created_date(&self) -> &DateTime
The date when the project was originally created, in UNIX epoch time format.
sourcepub fn updated_date(&self) -> &DateTime
pub fn updated_date(&self) -> &DateTime
The date when the project was last updated, in UNIX epoch time format. If the project was not updated, then createdDate
and updatedDate
are the same.
sourcepub fn placement_template(&self) -> Option<&PlacementTemplate>
pub fn placement_template(&self) -> Option<&PlacementTemplate>
An object describing the project's placement specifications.
The tags (metadata key/value pairs) associated with the project.
source§impl ProjectDescription
impl ProjectDescription
sourcepub fn builder() -> ProjectDescriptionBuilder
pub fn builder() -> ProjectDescriptionBuilder
Creates a new builder-style object to manufacture ProjectDescription
.
Trait Implementations§
source§impl Clone for ProjectDescription
impl Clone for ProjectDescription
source§fn clone(&self) -> ProjectDescription
fn clone(&self) -> ProjectDescription
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ProjectDescription
impl Debug for ProjectDescription
source§impl PartialEq for ProjectDescription
impl PartialEq for ProjectDescription
source§fn eq(&self, other: &ProjectDescription) -> bool
fn eq(&self, other: &ProjectDescription) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ProjectDescription
Auto Trait Implementations§
impl Freeze for ProjectDescription
impl RefUnwindSafe for ProjectDescription
impl Send for ProjectDescription
impl Sync for ProjectDescription
impl Unpin for ProjectDescription
impl UnwindSafe for ProjectDescription
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> 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