#[non_exhaustive]
pub struct GetComponentTypeOutput {
Show 13 fields pub workspace_id: Option<String>, pub is_singleton: Option<bool>, pub component_type_id: Option<String>, pub description: Option<String>, pub property_definitions: Option<HashMap<String, PropertyDefinitionResponse>>, pub extends_from: Option<Vec<String>>, pub functions: Option<HashMap<String, FunctionResponse>>, pub creation_date_time: Option<DateTime>, pub update_date_time: Option<DateTime>, pub arn: Option<String>, pub is_abstract: Option<bool>, pub is_schema_initialized: Option<bool>, pub status: Option<Status>,
}

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.
workspace_id: Option<String>

The ID of the workspace that contains the component type.

is_singleton: Option<bool>

A Boolean value that specifies whether an entity can have more than one component of this type.

component_type_id: Option<String>

The ID of the component type.

description: Option<String>

The description of the component type.

property_definitions: Option<HashMap<String, PropertyDefinitionResponse>>

An object that maps strings to the property definitions in the component type. Each string in the mapping must be unique to this object.

extends_from: Option<Vec<String>>

The name of the parent component type that this component type extends.

functions: Option<HashMap<String, FunctionResponse>>

An object that maps strings to the functions in the component type. Each string in the mapping must be unique to this object.

creation_date_time: Option<DateTime>

The date and time when the component type was created.

update_date_time: Option<DateTime>

The date and time when the component was last updated.

arn: Option<String>

The ARN of the component type.

is_abstract: Option<bool>

A Boolean value that specifies whether the component type is abstract.

is_schema_initialized: Option<bool>

A Boolean value that specifies whether the component type has a schema initializer and that the schema initializer has run.

status: Option<Status>

The current status of the component type.

Implementations

The ID of the workspace that contains the component type.

A Boolean value that specifies whether an entity can have more than one component of this type.

The ID of the component type.

The description of the component type.

An object that maps strings to the property definitions in the component type. Each string in the mapping must be unique to this object.

The name of the parent component type that this component type extends.

An object that maps strings to the functions in the component type. Each string in the mapping must be unique to this object.

The date and time when the component type was created.

The date and time when the component was last updated.

The ARN of the component type.

A Boolean value that specifies whether the component type is abstract.

A Boolean value that specifies whether the component type has a schema initializer and that the schema initializer has run.

The current status of the component type.

Creates a new builder-style object to manufacture GetComponentTypeOutput

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

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

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

Calls U::from(self).

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

The resulting type after obtaining ownership.

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

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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

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