pub struct TaggedResource {
pub resource_name: Option<String>,
pub resource_type: Option<String>,
pub tag: Option<Tag>,
}
Expand description
A tag and its associated resource.
Fields§
§resource_name: Option<String>
The Amazon Resource Name (ARN) with which the tag is associated, for example: arn:aws:redshift:us-east-2:123456789:cluster:t1
.
resource_type: Option<String>
The type of resource with which the tag is associated. Valid resource types are:
-
Cluster
-
CIDR/IP
-
EC2 security group
-
Snapshot
-
Cluster security group
-
Subnet group
-
HSM connection
-
HSM certificate
-
Parameter group
For more information about Amazon Redshift resource types and constructing ARNs, go to Constructing an Amazon Redshift Amazon Resource Name (ARN) in the Amazon Redshift Cluster Management Guide.
tag: Option<Tag>
The tag for the resource.
Trait Implementations§
Source§impl Clone for TaggedResource
impl Clone for TaggedResource
Source§fn clone(&self) -> TaggedResource
fn clone(&self) -> TaggedResource
Returns a duplicate 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 TaggedResource
impl Debug for TaggedResource
Source§impl Default for TaggedResource
impl Default for TaggedResource
Source§fn default() -> TaggedResource
fn default() -> TaggedResource
Returns the “default value” for a type. Read more
Source§impl PartialEq for TaggedResource
impl PartialEq for TaggedResource
impl StructuralPartialEq for TaggedResource
Auto Trait Implementations§
impl Freeze for TaggedResource
impl RefUnwindSafe for TaggedResource
impl Send for TaggedResource
impl Sync for TaggedResource
impl Unpin for TaggedResource
impl UnwindSafe for TaggedResource
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