#[non_exhaustive]pub struct CreateProjectOutput {
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 last_updated_at: Option<DateTime>,
pub glossary_terms: Option<Vec<String>>,
pub domain_unit_id: Option<String>,
/* private fields */
}
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 the Amazon DataZone domain in which the project was created.
id: String
The ID of the Amazon DataZone project.
name: String
The name of the project.
description: Option<String>
The description of the project.
project_status: Option<ProjectStatus>
The status of the Amazon DataZone project that was created.
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 the project was created.
last_updated_at: Option<DateTime>
The timestamp of when the project was last updated.
glossary_terms: Option<Vec<String>>
The glossary terms that can be used in the project.
domain_unit_id: Option<String>
The ID of the domain unit.
Implementations§
source§impl CreateProjectOutput
impl CreateProjectOutput
sourcepub fn domain_id(&self) -> &str
pub fn domain_id(&self) -> &str
The identifier of the Amazon DataZone domain in which the project was created.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the project.
sourcepub fn project_status(&self) -> Option<&ProjectStatus>
pub fn project_status(&self) -> Option<&ProjectStatus>
The status of the Amazon DataZone project that was created.
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 the project was created.
sourcepub fn last_updated_at(&self) -> Option<&DateTime>
pub fn last_updated_at(&self) -> Option<&DateTime>
The timestamp of when the project was last updated.
sourcepub fn glossary_terms(&self) -> &[String]
pub fn glossary_terms(&self) -> &[String]
The glossary terms that can be used in the project.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .glossary_terms.is_none()
.
sourcepub fn domain_unit_id(&self) -> Option<&str>
pub fn domain_unit_id(&self) -> Option<&str>
The ID of the domain unit.
source§impl CreateProjectOutput
impl CreateProjectOutput
sourcepub fn builder() -> CreateProjectOutputBuilder
pub fn builder() -> CreateProjectOutputBuilder
Creates a new builder-style object to manufacture CreateProjectOutput
.
Trait Implementations§
source§impl Clone for CreateProjectOutput
impl Clone for CreateProjectOutput
source§fn clone(&self) -> CreateProjectOutput
fn clone(&self) -> CreateProjectOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateProjectOutput
impl Debug for CreateProjectOutput
source§impl PartialEq for CreateProjectOutput
impl PartialEq for CreateProjectOutput
source§impl RequestId for CreateProjectOutput
impl RequestId for CreateProjectOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for CreateProjectOutput
Auto Trait Implementations§
impl Freeze for CreateProjectOutput
impl RefUnwindSafe for CreateProjectOutput
impl Send for CreateProjectOutput
impl Sync for CreateProjectOutput
impl Unpin for CreateProjectOutput
impl UnwindSafe for CreateProjectOutput
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