Struct aws_sdk_connect::types::TaskTemplateMetadata
source · #[non_exhaustive]pub struct TaskTemplateMetadata {
pub id: Option<String>,
pub arn: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub status: Option<TaskTemplateStatus>,
pub last_modified_time: Option<DateTime>,
pub created_time: Option<DateTime>,
}
Expand description
Contains summary information about the task template.
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.id: Option<String>
A unique identifier for the task template.
arn: Option<String>
The Amazon Resource Name (ARN) of the task template.
name: Option<String>
The name of the task template.
description: Option<String>
The description of the task template.
status: Option<TaskTemplateStatus>
Marks a template as ACTIVE
or INACTIVE
for a task to refer to it. Tasks can only be created from ACTIVE
templates. If a template is marked as INACTIVE
, then a task that refers to this template cannot be created.
last_modified_time: Option<DateTime>
The timestamp when the task template was last modified.
created_time: Option<DateTime>
The timestamp when the task template was created.
Implementations§
source§impl TaskTemplateMetadata
impl TaskTemplateMetadata
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the task template.
sourcepub fn status(&self) -> Option<&TaskTemplateStatus>
pub fn status(&self) -> Option<&TaskTemplateStatus>
Marks a template as ACTIVE
or INACTIVE
for a task to refer to it. Tasks can only be created from ACTIVE
templates. If a template is marked as INACTIVE
, then a task that refers to this template cannot be created.
sourcepub fn last_modified_time(&self) -> Option<&DateTime>
pub fn last_modified_time(&self) -> Option<&DateTime>
The timestamp when the task template was last modified.
sourcepub fn created_time(&self) -> Option<&DateTime>
pub fn created_time(&self) -> Option<&DateTime>
The timestamp when the task template was created.
source§impl TaskTemplateMetadata
impl TaskTemplateMetadata
sourcepub fn builder() -> TaskTemplateMetadataBuilder
pub fn builder() -> TaskTemplateMetadataBuilder
Creates a new builder-style object to manufacture TaskTemplateMetadata
.
Trait Implementations§
source§impl Clone for TaskTemplateMetadata
impl Clone for TaskTemplateMetadata
source§fn clone(&self) -> TaskTemplateMetadata
fn clone(&self) -> TaskTemplateMetadata
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TaskTemplateMetadata
impl Debug for TaskTemplateMetadata
source§impl PartialEq for TaskTemplateMetadata
impl PartialEq for TaskTemplateMetadata
source§fn eq(&self, other: &TaskTemplateMetadata) -> bool
fn eq(&self, other: &TaskTemplateMetadata) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TaskTemplateMetadata
Auto Trait Implementations§
impl Freeze for TaskTemplateMetadata
impl RefUnwindSafe for TaskTemplateMetadata
impl Send for TaskTemplateMetadata
impl Sync for TaskTemplateMetadata
impl Unpin for TaskTemplateMetadata
impl UnwindSafe for TaskTemplateMetadata
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> 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