#[non_exhaustive]pub struct CustomerConnectorInfo {
pub active_connectors: i32,
pub healthy_connectors: i32,
pub black_listed_connectors: i32,
pub shutdown_connectors: i32,
pub unhealthy_connectors: i32,
pub total_connectors: i32,
pub unknown_connectors: i32,
}
Expand description
Inventory data for installed discovery connectors.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.active_connectors: i32
Number of active discovery connectors.
healthy_connectors: i32
Number of healthy discovery connectors.
black_listed_connectors: i32
Number of blacklisted discovery connectors.
shutdown_connectors: i32
Number of discovery connectors with status SHUTDOWN,
unhealthy_connectors: i32
Number of unhealthy discovery connectors.
total_connectors: i32
Total number of discovery connectors.
unknown_connectors: i32
Number of unknown discovery connectors.
Implementations§
source§impl CustomerConnectorInfo
impl CustomerConnectorInfo
sourcepub fn active_connectors(&self) -> i32
pub fn active_connectors(&self) -> i32
Number of active discovery connectors.
sourcepub fn healthy_connectors(&self) -> i32
pub fn healthy_connectors(&self) -> i32
Number of healthy discovery connectors.
sourcepub fn black_listed_connectors(&self) -> i32
pub fn black_listed_connectors(&self) -> i32
Number of blacklisted discovery connectors.
sourcepub fn shutdown_connectors(&self) -> i32
pub fn shutdown_connectors(&self) -> i32
Number of discovery connectors with status SHUTDOWN,
sourcepub fn unhealthy_connectors(&self) -> i32
pub fn unhealthy_connectors(&self) -> i32
Number of unhealthy discovery connectors.
sourcepub fn total_connectors(&self) -> i32
pub fn total_connectors(&self) -> i32
Total number of discovery connectors.
sourcepub fn unknown_connectors(&self) -> i32
pub fn unknown_connectors(&self) -> i32
Number of unknown discovery connectors.
source§impl CustomerConnectorInfo
impl CustomerConnectorInfo
sourcepub fn builder() -> CustomerConnectorInfoBuilder
pub fn builder() -> CustomerConnectorInfoBuilder
Creates a new builder-style object to manufacture CustomerConnectorInfo
.
Trait Implementations§
source§impl Clone for CustomerConnectorInfo
impl Clone for CustomerConnectorInfo
source§fn clone(&self) -> CustomerConnectorInfo
fn clone(&self) -> CustomerConnectorInfo
Returns a copy 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 CustomerConnectorInfo
impl Debug for CustomerConnectorInfo
source§impl PartialEq for CustomerConnectorInfo
impl PartialEq for CustomerConnectorInfo
source§fn eq(&self, other: &CustomerConnectorInfo) -> bool
fn eq(&self, other: &CustomerConnectorInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CustomerConnectorInfo
Auto Trait Implementations§
impl Freeze for CustomerConnectorInfo
impl RefUnwindSafe for CustomerConnectorInfo
impl Send for CustomerConnectorInfo
impl Sync for CustomerConnectorInfo
impl Unpin for CustomerConnectorInfo
impl UnwindSafe for CustomerConnectorInfo
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.