Struct aws_sdk_swf::model::ActivityTypeInfo
source · [−]#[non_exhaustive]pub struct ActivityTypeInfo {
pub activity_type: Option<ActivityType>,
pub status: Option<RegistrationStatus>,
pub description: Option<String>,
pub creation_date: Option<DateTime>,
pub deprecation_date: Option<DateTime>,
}Expand description
Detailed information about an activity type.
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.activity_type: Option<ActivityType>The ActivityType type structure representing the activity type.
status: Option<RegistrationStatus>The current status of the activity type.
description: Option<String>The description of the activity type provided in RegisterActivityType.
creation_date: Option<DateTime>The date and time this activity type was created through RegisterActivityType.
deprecation_date: Option<DateTime>If DEPRECATED, the date and time DeprecateActivityType was called.
Implementations
sourceimpl ActivityTypeInfo
impl ActivityTypeInfo
sourcepub fn activity_type(&self) -> Option<&ActivityType>
pub fn activity_type(&self) -> Option<&ActivityType>
The ActivityType type structure representing the activity type.
sourcepub fn status(&self) -> Option<&RegistrationStatus>
pub fn status(&self) -> Option<&RegistrationStatus>
The current status of the activity type.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the activity type provided in RegisterActivityType.
sourcepub fn creation_date(&self) -> Option<&DateTime>
pub fn creation_date(&self) -> Option<&DateTime>
The date and time this activity type was created through RegisterActivityType.
sourcepub fn deprecation_date(&self) -> Option<&DateTime>
pub fn deprecation_date(&self) -> Option<&DateTime>
If DEPRECATED, the date and time DeprecateActivityType was called.
sourceimpl ActivityTypeInfo
impl ActivityTypeInfo
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ActivityTypeInfo
Trait Implementations
sourceimpl Clone for ActivityTypeInfo
impl Clone for ActivityTypeInfo
sourcefn clone(&self) -> ActivityTypeInfo
fn clone(&self) -> ActivityTypeInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ActivityTypeInfo
impl Debug for ActivityTypeInfo
sourceimpl PartialEq<ActivityTypeInfo> for ActivityTypeInfo
impl PartialEq<ActivityTypeInfo> for ActivityTypeInfo
sourcefn eq(&self, other: &ActivityTypeInfo) -> bool
fn eq(&self, other: &ActivityTypeInfo) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ActivityTypeInfo) -> bool
fn ne(&self, other: &ActivityTypeInfo) -> bool
This method tests for !=.
impl StructuralPartialEq for ActivityTypeInfo
Auto Trait Implementations
impl RefUnwindSafe for ActivityTypeInfo
impl Send for ActivityTypeInfo
impl Sync for ActivityTypeInfo
impl Unpin for ActivityTypeInfo
impl UnwindSafe for ActivityTypeInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
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
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more