Struct aws_sdk_migrationhubstrategy::types::Collector
source · #[non_exhaustive]pub struct Collector {
pub collector_id: Option<String>,
pub ip_address: Option<String>,
pub host_name: Option<String>,
pub collector_health: Option<CollectorHealth>,
pub collector_version: Option<String>,
pub registered_time_stamp: Option<String>,
pub last_activity_time_stamp: Option<String>,
pub configuration_summary: Option<ConfigurationSummary>,
}
Expand description
Process data collector that runs in the environment that you specify.
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.collector_id: Option<String>
The ID of the collector.
ip_address: Option<String>
IP address of the server that is hosting the collector.
host_name: Option<String>
Hostname of the server that is hosting the collector.
collector_health: Option<CollectorHealth>
Indicates the health of a collector.
collector_version: Option<String>
Current version of the collector that is running in the environment that you specify.
registered_time_stamp: Option<String>
Time when the collector registered with the service.
last_activity_time_stamp: Option<String>
Time when the collector last pinged the service.
configuration_summary: Option<ConfigurationSummary>
Summary of the collector configuration.
Implementations§
source§impl Collector
impl Collector
sourcepub fn collector_id(&self) -> Option<&str>
pub fn collector_id(&self) -> Option<&str>
The ID of the collector.
sourcepub fn ip_address(&self) -> Option<&str>
pub fn ip_address(&self) -> Option<&str>
IP address of the server that is hosting the collector.
sourcepub fn collector_health(&self) -> Option<&CollectorHealth>
pub fn collector_health(&self) -> Option<&CollectorHealth>
Indicates the health of a collector.
sourcepub fn collector_version(&self) -> Option<&str>
pub fn collector_version(&self) -> Option<&str>
Current version of the collector that is running in the environment that you specify.
sourcepub fn registered_time_stamp(&self) -> Option<&str>
pub fn registered_time_stamp(&self) -> Option<&str>
Time when the collector registered with the service.
sourcepub fn last_activity_time_stamp(&self) -> Option<&str>
pub fn last_activity_time_stamp(&self) -> Option<&str>
Time when the collector last pinged the service.
sourcepub fn configuration_summary(&self) -> Option<&ConfigurationSummary>
pub fn configuration_summary(&self) -> Option<&ConfigurationSummary>
Summary of the collector configuration.
Trait Implementations§
source§impl PartialEq for Collector
impl PartialEq for Collector
impl StructuralPartialEq for Collector
Auto Trait Implementations§
impl Freeze for Collector
impl RefUnwindSafe for Collector
impl Send for Collector
impl Sync for Collector
impl Unpin for Collector
impl UnwindSafe for Collector
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
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>
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>
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 more