Struct aws_sdk_gamelift::input::ListGameServersInput
source · [−]#[non_exhaustive]pub struct ListGameServersInput {
pub game_server_group_name: Option<String>,
pub sort_order: Option<SortOrder>,
pub limit: Option<i32>,
pub next_token: Option<String>,
}
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.game_server_group_name: Option<String>
An identifier for the game server group to retrieve a list of game servers from. Use either the GameServerGroup
name or ARN value.
sort_order: Option<SortOrder>
Indicates how to sort the returned data based on game server registration timestamp. Use ASCENDING
to retrieve oldest game servers first, or use DESCENDING
to retrieve newest game servers first. If this parameter is left empty, game servers are returned in no particular order.
limit: Option<i32>
The maximum number of results to return. Use this parameter with NextToken
to get results as a set of sequential pages.
next_token: Option<String>
A token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this operation. To start at the beginning of the result set, do not specify a value.
Implementations
sourceimpl ListGameServersInput
impl ListGameServersInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListGameServers, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListGameServers, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<ListGameServers
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ListGameServersInput
.
sourceimpl ListGameServersInput
impl ListGameServersInput
sourcepub fn game_server_group_name(&self) -> Option<&str>
pub fn game_server_group_name(&self) -> Option<&str>
An identifier for the game server group to retrieve a list of game servers from. Use either the GameServerGroup
name or ARN value.
sourcepub fn sort_order(&self) -> Option<&SortOrder>
pub fn sort_order(&self) -> Option<&SortOrder>
Indicates how to sort the returned data based on game server registration timestamp. Use ASCENDING
to retrieve oldest game servers first, or use DESCENDING
to retrieve newest game servers first. If this parameter is left empty, game servers are returned in no particular order.
sourcepub fn limit(&self) -> Option<i32>
pub fn limit(&self) -> Option<i32>
The maximum number of results to return. Use this parameter with NextToken
to get results as a set of sequential pages.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
A token that indicates the start of the next sequential page of results. Use the token that is returned with a previous call to this operation. To start at the beginning of the result set, do not specify a value.
Trait Implementations
sourceimpl Clone for ListGameServersInput
impl Clone for ListGameServersInput
sourcefn clone(&self) -> ListGameServersInput
fn clone(&self) -> ListGameServersInput
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 ListGameServersInput
impl Debug for ListGameServersInput
sourceimpl PartialEq<ListGameServersInput> for ListGameServersInput
impl PartialEq<ListGameServersInput> for ListGameServersInput
sourcefn eq(&self, other: &ListGameServersInput) -> bool
fn eq(&self, other: &ListGameServersInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ListGameServersInput) -> bool
fn ne(&self, other: &ListGameServersInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for ListGameServersInput
Auto Trait Implementations
impl RefUnwindSafe for ListGameServersInput
impl Send for ListGameServersInput
impl Sync for ListGameServersInput
impl Unpin for ListGameServersInput
impl UnwindSafe for ListGameServersInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
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> 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