Struct aws_sdk_robomaker::operation::list_robots::ListRobotsOutput
source · #[non_exhaustive]pub struct ListRobotsOutput {
pub robots: Option<Vec<Robot>>,
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.robots: Option<Vec<Robot>>
A list of robots that meet the criteria of the request.
next_token: Option<String>
If the previous paginated request did not return all of the remaining results, the response object's nextToken
parameter value is set to a token. To retrieve the next set of results, call ListRobots
again and assign that token to the request object's nextToken
parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.
Implementations§
source§impl ListRobotsOutput
impl ListRobotsOutput
sourcepub fn robots(&self) -> &[Robot]
pub fn robots(&self) -> &[Robot]
A list of robots that meet the criteria of the request.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .robots.is_none()
.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
If the previous paginated request did not return all of the remaining results, the response object's nextToken
parameter value is set to a token. To retrieve the next set of results, call ListRobots
again and assign that token to the request object's nextToken
parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.
source§impl ListRobotsOutput
impl ListRobotsOutput
sourcepub fn builder() -> ListRobotsOutputBuilder
pub fn builder() -> ListRobotsOutputBuilder
Creates a new builder-style object to manufacture ListRobotsOutput
.
Trait Implementations§
source§impl Clone for ListRobotsOutput
impl Clone for ListRobotsOutput
source§fn clone(&self) -> ListRobotsOutput
fn clone(&self) -> ListRobotsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListRobotsOutput
impl Debug for ListRobotsOutput
source§impl PartialEq for ListRobotsOutput
impl PartialEq for ListRobotsOutput
source§fn eq(&self, other: &ListRobotsOutput) -> bool
fn eq(&self, other: &ListRobotsOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for ListRobotsOutput
impl RequestId for ListRobotsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.