Struct aws_sdk_servicediscovery::model::ServiceChange
source · [−]#[non_exhaustive]pub struct ServiceChange {
pub description: Option<String>,
pub dns_config: Option<DnsConfigChange>,
pub health_check_config: Option<HealthCheckConfig>,
}
Expand description
A complex type that contains changes to an existing service.
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.description: Option<String>
A description for the service.
dns_config: Option<DnsConfigChange>
Information about the Route 53 DNS records that you want Cloud Map to create when you register an instance.
health_check_config: Option<HealthCheckConfig>
Public DNS and HTTP namespaces only. Settings for an optional health check. If you specify settings for a health check, Cloud Map associates the health check with the records that you specify in DnsConfig
.
Implementations
sourceimpl ServiceChange
impl ServiceChange
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description for the service.
sourcepub fn dns_config(&self) -> Option<&DnsConfigChange>
pub fn dns_config(&self) -> Option<&DnsConfigChange>
Information about the Route 53 DNS records that you want Cloud Map to create when you register an instance.
sourcepub fn health_check_config(&self) -> Option<&HealthCheckConfig>
pub fn health_check_config(&self) -> Option<&HealthCheckConfig>
Public DNS and HTTP namespaces only. Settings for an optional health check. If you specify settings for a health check, Cloud Map associates the health check with the records that you specify in DnsConfig
.
sourceimpl ServiceChange
impl ServiceChange
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ServiceChange
Trait Implementations
sourceimpl Clone for ServiceChange
impl Clone for ServiceChange
sourcefn clone(&self) -> ServiceChange
fn clone(&self) -> ServiceChange
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ServiceChange
impl Debug for ServiceChange
sourceimpl PartialEq<ServiceChange> for ServiceChange
impl PartialEq<ServiceChange> for ServiceChange
sourcefn eq(&self, other: &ServiceChange) -> bool
fn eq(&self, other: &ServiceChange) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ServiceChange) -> bool
fn ne(&self, other: &ServiceChange) -> bool
This method tests for !=
.
impl StructuralPartialEq for ServiceChange
Auto Trait Implementations
impl RefUnwindSafe for ServiceChange
impl Send for ServiceChange
impl Sync for ServiceChange
impl Unpin for ServiceChange
impl UnwindSafe for ServiceChange
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more