#[non_exhaustive]pub struct AgentConfigurationStatus {
pub agent_id: Option<String>,
pub operation_succeeded: bool,
pub description: Option<String>,
}Expand description
Information about agents or connectors that were instructed to start collecting data. Information includes the agent/connector ID, a description of the operation, and whether the agent/connector 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/connector ID.
operation_succeeded: boolInformation about the status of the StartDataCollection and StopDataCollection operations. The system has recorded the data collection operation. The agent/connector receives this command the next time it polls for a new command.
description: Option<String>A description of the operation performed.
Implementations
sourceimpl 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/connector 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.
sourceimpl AgentConfigurationStatus
impl AgentConfigurationStatus
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AgentConfigurationStatus
Trait Implementations
sourceimpl Clone for AgentConfigurationStatus
impl Clone for AgentConfigurationStatus
sourcefn clone(&self) -> AgentConfigurationStatus
fn clone(&self) -> AgentConfigurationStatus
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 AgentConfigurationStatus
impl Debug for AgentConfigurationStatus
sourceimpl PartialEq<AgentConfigurationStatus> for AgentConfigurationStatus
impl PartialEq<AgentConfigurationStatus> for AgentConfigurationStatus
sourcefn eq(&self, other: &AgentConfigurationStatus) -> bool
fn eq(&self, other: &AgentConfigurationStatus) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &AgentConfigurationStatus) -> bool
fn ne(&self, other: &AgentConfigurationStatus) -> bool
This method tests for !=.
impl StructuralPartialEq for AgentConfigurationStatus
Auto Trait Implementations
impl RefUnwindSafe for AgentConfigurationStatus
impl Send for AgentConfigurationStatus
impl Sync for AgentConfigurationStatus
impl Unpin for AgentConfigurationStatus
impl UnwindSafe for AgentConfigurationStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub 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