#[non_exhaustive]
pub struct Project { pub project_arn: Option<String>, pub project_name: Option<String>, pub project_id: Option<String>, pub project_description: Option<String>, pub service_catalog_provisioning_details: Option<ServiceCatalogProvisioningDetails>, pub service_catalog_provisioned_product_details: Option<ServiceCatalogProvisionedProductDetails>, pub project_status: Option<ProjectStatus>, pub created_by: Option<UserContext>, pub creation_time: Option<DateTime>, pub tags: Option<Vec<Tag>>, pub last_modified_time: Option<DateTime>, pub last_modified_by: Option<UserContext>, }
Expand description

The properties of a project as returned by the Search API.

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_arn: Option<String>

The Amazon Resource Name (ARN) of the project.

§project_name: Option<String>

The name of the project.

§project_id: Option<String>

The ID of the project.

§project_description: Option<String>

The description of the project.

§service_catalog_provisioning_details: Option<ServiceCatalogProvisioningDetails>

Details that you specify to provision a service catalog product. For information about service catalog, see What is Amazon Web Services Service Catalog.

§service_catalog_provisioned_product_details: Option<ServiceCatalogProvisionedProductDetails>

Details of a provisioned service catalog product. For information about service catalog, see What is Amazon Web Services Service Catalog.

§project_status: Option<ProjectStatus>

The status of the project.

§created_by: Option<UserContext>

Who created the project.

§creation_time: Option<DateTime>

A timestamp specifying when the project was created.

§tags: Option<Vec<Tag>>

An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources.

§last_modified_time: Option<DateTime>

A timestamp container for when the project was last modified.

§last_modified_by: Option<UserContext>

Information about the user who created or modified an experiment, trial, trial component, lineage group, project, or model card.

Implementations§

source§

impl Project

source

pub fn project_arn(&self) -> Option<&str>

The Amazon Resource Name (ARN) of the project.

source

pub fn project_name(&self) -> Option<&str>

The name of the project.

source

pub fn project_id(&self) -> Option<&str>

The ID of the project.

source

pub fn project_description(&self) -> Option<&str>

The description of the project.

source

pub fn service_catalog_provisioning_details( &self ) -> Option<&ServiceCatalogProvisioningDetails>

Details that you specify to provision a service catalog product. For information about service catalog, see What is Amazon Web Services Service Catalog.

source

pub fn service_catalog_provisioned_product_details( &self ) -> Option<&ServiceCatalogProvisionedProductDetails>

Details of a provisioned service catalog product. For information about service catalog, see What is Amazon Web Services Service Catalog.

source

pub fn project_status(&self) -> Option<&ProjectStatus>

The status of the project.

source

pub fn created_by(&self) -> Option<&UserContext>

Who created the project.

source

pub fn creation_time(&self) -> Option<&DateTime>

A timestamp specifying when the project was created.

source

pub fn tags(&self) -> Option<&[Tag]>

An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources.

source

pub fn last_modified_time(&self) -> Option<&DateTime>

A timestamp container for when the project was last modified.

source

pub fn last_modified_by(&self) -> Option<&UserContext>

Information about the user who created or modified an experiment, trial, trial component, lineage group, project, or model card.

source§

impl Project

source

pub fn builder() -> ProjectBuilder

Creates a new builder-style object to manufacture Project.

Trait Implementations§

source§

impl Clone for Project

source§

fn clone(&self) -> Project

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Project

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<Project> for Project

source§

fn eq(&self, other: &Project) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for Project

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more