Struct consul_rs::agent::ServiceRegisterOpts [−][src]
pub struct ServiceRegisterOpts {
pub ReplaceExistingChecks: bool,
}Expand description
ServiceRegisterOpts is used to pass extra options to the service register.
Fields
ReplaceExistingChecks: boolMissing healthchecks will be deleted from the agent. Using this parameter allows to idempotently register a service and its checks without having to manually deregister checks.
Trait Implementations
Returns the “default value” for a type. Read more
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
Auto Trait Implementations
impl RefUnwindSafe for ServiceRegisterOptsimpl Send for ServiceRegisterOptsimpl Sync for ServiceRegisterOptsimpl Unpin for ServiceRegisterOptsimpl UnwindSafe for ServiceRegisterOptsBlanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> VAttaches 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