Struct aws_sdk_proton::types::ComponentState
source · #[non_exhaustive]pub struct ComponentState {
pub service_name: Option<String>,
pub service_instance_name: Option<String>,
pub service_spec: Option<String>,
pub template_file: Option<String>,
}Expand description
The detailed data about the current state of the component.
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.service_name: Option<String>The name of the service that serviceInstanceName is associated with. Provided when a component is attached to a service instance.
service_instance_name: Option<String>The name of the service instance that this component is attached to. Provided when a component is attached to a service instance.
service_spec: Option<String>The service spec that the component uses to access service inputs. Provided when a component is attached to a service instance.
template_file: Option<String>The template file used.
Implementations§
source§impl ComponentState
impl ComponentState
sourcepub fn service_name(&self) -> Option<&str>
pub fn service_name(&self) -> Option<&str>
The name of the service that serviceInstanceName is associated with. Provided when a component is attached to a service instance.
sourcepub fn service_instance_name(&self) -> Option<&str>
pub fn service_instance_name(&self) -> Option<&str>
The name of the service instance that this component is attached to. Provided when a component is attached to a service instance.
sourcepub fn service_spec(&self) -> Option<&str>
pub fn service_spec(&self) -> Option<&str>
The service spec that the component uses to access service inputs. Provided when a component is attached to a service instance.
sourcepub fn template_file(&self) -> Option<&str>
pub fn template_file(&self) -> Option<&str>
The template file used.
source§impl ComponentState
impl ComponentState
sourcepub fn builder() -> ComponentStateBuilder
pub fn builder() -> ComponentStateBuilder
Creates a new builder-style object to manufacture ComponentState.
Trait Implementations§
source§impl Clone for ComponentState
impl Clone for ComponentState
source§fn clone(&self) -> ComponentState
fn clone(&self) -> ComponentState
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ComponentState
impl Debug for ComponentState
source§impl PartialEq for ComponentState
impl PartialEq for ComponentState
source§fn eq(&self, other: &ComponentState) -> bool
fn eq(&self, other: &ComponentState) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ComponentState
Auto Trait Implementations§
impl Freeze for ComponentState
impl RefUnwindSafe for ComponentState
impl Send for ComponentState
impl Sync for ComponentState
impl Unpin for ComponentState
impl UnwindSafe for ComponentState
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