Struct aws_sdk_datazone::types::ProjectSummary
source · #[non_exhaustive]pub struct ProjectSummary {
pub domain_id: String,
pub id: String,
pub name: String,
pub description: Option<String>,
pub project_status: Option<ProjectStatus>,
pub failure_reasons: Option<Vec<ProjectDeletionError>>,
pub created_by: String,
pub created_at: Option<DateTime>,
pub updated_at: Option<DateTime>,
}
Expand description
The details of a Amazon DataZone project.
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.domain_id: String
The identifier of a Amazon DataZone domain where the project exists.
id: String
The identifier of a project.
name: String
The name of a project.
description: Option<String>
The description of a project.
project_status: Option<ProjectStatus>
The status of the project.
failure_reasons: Option<Vec<ProjectDeletionError>>
Specifies the error message that is returned if the operation cannot be successfully completed.
created_by: String
The Amazon DataZone user who created the project.
created_at: Option<DateTime>
The timestamp of when a project was created.
updated_at: Option<DateTime>
The timestamp of when the project was updated.
Implementations§
source§impl ProjectSummary
impl ProjectSummary
sourcepub fn domain_id(&self) -> &str
pub fn domain_id(&self) -> &str
The identifier of a Amazon DataZone domain where the project exists.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of a project.
sourcepub fn project_status(&self) -> Option<&ProjectStatus>
pub fn project_status(&self) -> Option<&ProjectStatus>
The status of the project.
sourcepub fn failure_reasons(&self) -> &[ProjectDeletionError]
pub fn failure_reasons(&self) -> &[ProjectDeletionError]
Specifies the error message that is returned if the operation cannot be successfully completed.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .failure_reasons.is_none()
.
sourcepub fn created_by(&self) -> &str
pub fn created_by(&self) -> &str
The Amazon DataZone user who created the project.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The timestamp of when a project was created.
sourcepub fn updated_at(&self) -> Option<&DateTime>
pub fn updated_at(&self) -> Option<&DateTime>
The timestamp of when the project was updated.
source§impl ProjectSummary
impl ProjectSummary
sourcepub fn builder() -> ProjectSummaryBuilder
pub fn builder() -> ProjectSummaryBuilder
Creates a new builder-style object to manufacture ProjectSummary
.
Trait Implementations§
source§impl Clone for ProjectSummary
impl Clone for ProjectSummary
source§fn clone(&self) -> ProjectSummary
fn clone(&self) -> ProjectSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ProjectSummary
impl Debug for ProjectSummary
source§impl PartialEq for ProjectSummary
impl PartialEq for ProjectSummary
source§fn eq(&self, other: &ProjectSummary) -> bool
fn eq(&self, other: &ProjectSummary) -> bool
self
and other
values to be equal, and is used
by ==
.