pub struct ServiceDiscovery {
pub aws_cloud_map: Option<AwsCloudMapServiceDiscovery>,
pub dns: Option<DnsServiceDiscovery>,
}
Expand description
An object that represents the service discovery information for a virtual node.
Fields§
§aws_cloud_map: Option<AwsCloudMapServiceDiscovery>
Specifies any AWS Cloud Map information for the virtual node.
dns: Option<DnsServiceDiscovery>
Specifies the DNS information for the virtual node.
Trait Implementations§
Source§impl Clone for ServiceDiscovery
impl Clone for ServiceDiscovery
Source§fn clone(&self) -> ServiceDiscovery
fn clone(&self) -> ServiceDiscovery
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 ServiceDiscovery
impl Debug for ServiceDiscovery
Source§impl Default for ServiceDiscovery
impl Default for ServiceDiscovery
Source§fn default() -> ServiceDiscovery
fn default() -> ServiceDiscovery
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ServiceDiscovery
impl<'de> Deserialize<'de> for ServiceDiscovery
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
Source§impl PartialEq for ServiceDiscovery
impl PartialEq for ServiceDiscovery
Source§impl Serialize for ServiceDiscovery
impl Serialize for ServiceDiscovery
impl StructuralPartialEq for ServiceDiscovery
Auto Trait Implementations§
impl Freeze for ServiceDiscovery
impl RefUnwindSafe for ServiceDiscovery
impl Send for ServiceDiscovery
impl Sync for ServiceDiscovery
impl Unpin for ServiceDiscovery
impl UnwindSafe for ServiceDiscovery
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