Struct aws_sdk_cloudcontrol::types::ResourceDescription
source · #[non_exhaustive]pub struct ResourceDescription {
pub identifier: Option<String>,
pub properties: Option<String>,
}Expand description
Represents information about a provisioned resource.
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.identifier: Option<String>The primary identifier for the resource.
For more information, see Identifying resources in the Amazon Web Services Cloud Control API User Guide.
properties: Option<String>A list of the resource properties and their current values.
Implementations§
source§impl ResourceDescription
impl ResourceDescription
sourcepub fn identifier(&self) -> Option<&str>
pub fn identifier(&self) -> Option<&str>
The primary identifier for the resource.
For more information, see Identifying resources in the Amazon Web Services Cloud Control API User Guide.
sourcepub fn properties(&self) -> Option<&str>
pub fn properties(&self) -> Option<&str>
A list of the resource properties and their current values.
source§impl ResourceDescription
impl ResourceDescription
sourcepub fn builder() -> ResourceDescriptionBuilder
pub fn builder() -> ResourceDescriptionBuilder
Creates a new builder-style object to manufacture ResourceDescription.
Trait Implementations§
source§impl Clone for ResourceDescription
impl Clone for ResourceDescription
source§fn clone(&self) -> ResourceDescription
fn clone(&self) -> ResourceDescription
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ResourceDescription
impl Debug for ResourceDescription
source§impl PartialEq for ResourceDescription
impl PartialEq for ResourceDescription
source§fn eq(&self, other: &ResourceDescription) -> bool
fn eq(&self, other: &ResourceDescription) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ResourceDescription
Auto Trait Implementations§
impl Freeze for ResourceDescription
impl RefUnwindSafe for ResourceDescription
impl Send for ResourceDescription
impl Sync for ResourceDescription
impl Unpin for ResourceDescription
impl UnwindSafe for ResourceDescription
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.