pub struct AwsCloudMapServiceDiscovery {
pub attributes: Option<Vec<AwsCloudMapInstanceAttribute>>,
pub namespace_name: String,
pub service_name: String,
}Expand description
An object that represents the AWS Cloud Map service discovery information for your virtual node.
Fields§
§attributes: Option<Vec<AwsCloudMapInstanceAttribute>>A string map that contains attributes with values that you can use to filter instances by any custom attribute that you specified when you registered the instance. Only instances that match all of the specified key/value pairs will be returned.
namespace_name: StringThe name of the AWS Cloud Map namespace to use.
service_name: StringThe name of the AWS Cloud Map service to use.
Trait Implementations§
Source§impl Clone for AwsCloudMapServiceDiscovery
impl Clone for AwsCloudMapServiceDiscovery
Source§fn clone(&self) -> AwsCloudMapServiceDiscovery
fn clone(&self) -> AwsCloudMapServiceDiscovery
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 AwsCloudMapServiceDiscovery
impl Debug for AwsCloudMapServiceDiscovery
Source§impl Default for AwsCloudMapServiceDiscovery
impl Default for AwsCloudMapServiceDiscovery
Source§fn default() -> AwsCloudMapServiceDiscovery
fn default() -> AwsCloudMapServiceDiscovery
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AwsCloudMapServiceDiscovery
impl<'de> Deserialize<'de> for AwsCloudMapServiceDiscovery
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for AwsCloudMapServiceDiscovery
Auto Trait Implementations§
impl Freeze for AwsCloudMapServiceDiscovery
impl RefUnwindSafe for AwsCloudMapServiceDiscovery
impl Send for AwsCloudMapServiceDiscovery
impl Sync for AwsCloudMapServiceDiscovery
impl Unpin for AwsCloudMapServiceDiscovery
impl UnwindSafe for AwsCloudMapServiceDiscovery
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