#[non_exhaustive]pub struct DescribeProjectOutput {
pub project_id: String,
pub project_arn: String,
pub project_name: String,
pub portal_id: String,
pub project_description: Option<String>,
pub project_creation_date: DateTime,
pub project_last_update_date: DateTime,
/* private fields */
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.project_id: StringThe ID of the project.
project_arn: StringThe ARN of the project, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:project/${ProjectId}
project_name: StringThe name of the project.
portal_id: StringThe ID of the portal that the project is in.
project_description: Option<String>The project's description.
project_creation_date: DateTimeThe date the project was created, in Unix epoch time.
project_last_update_date: DateTimeThe date the project was last updated, in Unix epoch time.
Implementations§
source§impl DescribeProjectOutput
impl DescribeProjectOutput
sourcepub fn project_id(&self) -> &str
pub fn project_id(&self) -> &str
The ID of the project.
sourcepub fn project_arn(&self) -> &str
pub fn project_arn(&self) -> &str
The ARN of the project, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:project/${ProjectId}
sourcepub fn project_name(&self) -> &str
pub fn project_name(&self) -> &str
The name of the project.
sourcepub fn project_description(&self) -> Option<&str>
pub fn project_description(&self) -> Option<&str>
The project's description.
sourcepub fn project_creation_date(&self) -> &DateTime
pub fn project_creation_date(&self) -> &DateTime
The date the project was created, in Unix epoch time.
sourcepub fn project_last_update_date(&self) -> &DateTime
pub fn project_last_update_date(&self) -> &DateTime
The date the project was last updated, in Unix epoch time.
source§impl DescribeProjectOutput
impl DescribeProjectOutput
sourcepub fn builder() -> DescribeProjectOutputBuilder
pub fn builder() -> DescribeProjectOutputBuilder
Creates a new builder-style object to manufacture DescribeProjectOutput.
Trait Implementations§
source§impl Clone for DescribeProjectOutput
impl Clone for DescribeProjectOutput
source§fn clone(&self) -> DescribeProjectOutput
fn clone(&self) -> DescribeProjectOutput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for DescribeProjectOutput
impl Debug for DescribeProjectOutput
source§impl PartialEq for DescribeProjectOutput
impl PartialEq for DescribeProjectOutput
source§fn eq(&self, other: &DescribeProjectOutput) -> bool
fn eq(&self, other: &DescribeProjectOutput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl RequestId for DescribeProjectOutput
impl RequestId for DescribeProjectOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None if the service could not be reached.impl StructuralPartialEq for DescribeProjectOutput
Auto Trait Implementations§
impl Freeze for DescribeProjectOutput
impl RefUnwindSafe for DescribeProjectOutput
impl Send for DescribeProjectOutput
impl Sync for DescribeProjectOutput
impl Unpin for DescribeProjectOutput
impl UnwindSafe for DescribeProjectOutput
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.