Struct aws_sdk_migrationhub::model::ResourceAttribute
source · [−]#[non_exhaustive]pub struct ResourceAttribute {
pub type: Option<ResourceAttributeType>,
pub value: Option<String>,
}Expand description
Attribute associated with a resource.
Note the corresponding format required per type listed below:
- IPV4
-
x.x.x.xwhere x is an integer in the range [0,255]
- IPV6
-
y : y : y : y : y : y : y : ywhere y is a hexadecimal between 0 and FFFF. [0, FFFF]
- MAC_ADDRESS
-
^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$ - FQDN
-
^[^<>{}\\\\/?,=\\p{Cntrl}]{1,256}$
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.type: Option<ResourceAttributeType>Type of resource.
value: Option<String>Value of the resource type.
Implementations
Creates a new builder-style object to manufacture ResourceAttribute
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for ResourceAttribute
impl Send for ResourceAttribute
impl Sync for ResourceAttribute
impl Unpin for ResourceAttribute
impl UnwindSafe for ResourceAttribute
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more