#[non_exhaustive]pub struct AgentConfigurationStatus {
pub agent_id: Option<String>,
pub operation_succeeded: bool,
pub description: Option<String>,
}
Expand description
Information about agents that were instructed to start collecting data. Information includes the agent ID, a description of the operation, and whether the agent configuration was updated.
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.agent_id: Option<String>
The agent ID.
operation_succeeded: bool
Information about the status of the StartDataCollection
and StopDataCollection
operations. The system has recorded the data collection operation. The agent receives this command the next time it polls for a new command.
description: Option<String>
A description of the operation performed.
Implementations§
source§impl AgentConfigurationStatus
impl AgentConfigurationStatus
sourcepub fn operation_succeeded(&self) -> bool
pub fn operation_succeeded(&self) -> bool
Information about the status of the StartDataCollection
and StopDataCollection
operations. The system has recorded the data collection operation. The agent receives this command the next time it polls for a new command.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the operation performed.
source§impl AgentConfigurationStatus
impl AgentConfigurationStatus
sourcepub fn builder() -> AgentConfigurationStatusBuilder
pub fn builder() -> AgentConfigurationStatusBuilder
Creates a new builder-style object to manufacture AgentConfigurationStatus
.
Trait Implementations§
source§impl Clone for AgentConfigurationStatus
impl Clone for AgentConfigurationStatus
source§fn clone(&self) -> AgentConfigurationStatus
fn clone(&self) -> AgentConfigurationStatus
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AgentConfigurationStatus
impl Debug for AgentConfigurationStatus
source§impl PartialEq for AgentConfigurationStatus
impl PartialEq for AgentConfigurationStatus
source§fn eq(&self, other: &AgentConfigurationStatus) -> bool
fn eq(&self, other: &AgentConfigurationStatus) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AgentConfigurationStatus
Auto Trait Implementations§
impl Freeze for AgentConfigurationStatus
impl RefUnwindSafe for AgentConfigurationStatus
impl Send for AgentConfigurationStatus
impl Sync for AgentConfigurationStatus
impl Unpin for AgentConfigurationStatus
impl UnwindSafe for AgentConfigurationStatus
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