#[non_exhaustive]pub struct DescribeAgentsOutput {
pub agents_info: Option<Vec<AgentInfo>>,
pub next_token: Option<String>,
/* private fields */
}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.agents_info: Option<Vec<AgentInfo>>Lists agents or the collector by ID or lists all agents/collectors associated with your user, if you did not specify an agent/collector ID. The output includes agent/collector IDs, IP addresses, media access control (MAC) addresses, agent/collector health, host name where the agent/collector resides, and the version number of each agent/collector.
next_token: Option<String>Token to retrieve the next set of results. For example, if you specified 100 IDs for DescribeAgentsRequest$agentIds but set DescribeAgentsRequest$maxResults to 10, you received a set of 10 results along with this token. Use this token in the next query to retrieve the next set of 10.
Implementations§
source§impl DescribeAgentsOutput
impl DescribeAgentsOutput
sourcepub fn agents_info(&self) -> &[AgentInfo]
pub fn agents_info(&self) -> &[AgentInfo]
Lists agents or the collector by ID or lists all agents/collectors associated with your user, if you did not specify an agent/collector ID. The output includes agent/collector IDs, IP addresses, media access control (MAC) addresses, agent/collector health, host name where the agent/collector resides, and the version number of each agent/collector.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .agents_info.is_none().
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
Token to retrieve the next set of results. For example, if you specified 100 IDs for DescribeAgentsRequest$agentIds but set DescribeAgentsRequest$maxResults to 10, you received a set of 10 results along with this token. Use this token in the next query to retrieve the next set of 10.
source§impl DescribeAgentsOutput
impl DescribeAgentsOutput
sourcepub fn builder() -> DescribeAgentsOutputBuilder
pub fn builder() -> DescribeAgentsOutputBuilder
Creates a new builder-style object to manufacture DescribeAgentsOutput.
Trait Implementations§
source§impl Clone for DescribeAgentsOutput
impl Clone for DescribeAgentsOutput
source§fn clone(&self) -> DescribeAgentsOutput
fn clone(&self) -> DescribeAgentsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DescribeAgentsOutput
impl Debug for DescribeAgentsOutput
source§impl PartialEq for DescribeAgentsOutput
impl PartialEq for DescribeAgentsOutput
source§fn eq(&self, other: &DescribeAgentsOutput) -> bool
fn eq(&self, other: &DescribeAgentsOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for DescribeAgentsOutput
impl RequestId for DescribeAgentsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.impl StructuralPartialEq for DescribeAgentsOutput
Auto Trait Implementations§
impl Freeze for DescribeAgentsOutput
impl RefUnwindSafe for DescribeAgentsOutput
impl Send for DescribeAgentsOutput
impl Sync for DescribeAgentsOutput
impl Unpin for DescribeAgentsOutput
impl UnwindSafe for DescribeAgentsOutput
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