#[non_exhaustive]pub struct ListProjectsInput {
pub sort_by: Option<ProjectSortByType>,
pub sort_order: Option<SortOrderType>,
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.sort_by: Option<ProjectSortByType>
The criterion to be used to list build project names. Valid values include:
-
CREATED_TIME
: List based on when each build project was created. -
LAST_MODIFIED_TIME
: List based on when information about each build project was last changed. -
NAME
: List based on each build project's name.
Use sortOrder
to specify in what order to list the build project names based on the preceding criteria.
sort_order: Option<SortOrderType>
The order in which to list build projects. Valid values include:
-
ASCENDING
: List in ascending order. -
DESCENDING
: List in descending order.
Use sortBy
to specify the criterion to be used to list build project names.
next_token: Option<String>
During a previous call, if there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a nextToken. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.
Implementations§
source§impl ListProjectsInput
impl ListProjectsInput
sourcepub fn sort_by(&self) -> Option<&ProjectSortByType>
pub fn sort_by(&self) -> Option<&ProjectSortByType>
The criterion to be used to list build project names. Valid values include:
-
CREATED_TIME
: List based on when each build project was created. -
LAST_MODIFIED_TIME
: List based on when information about each build project was last changed. -
NAME
: List based on each build project's name.
Use sortOrder
to specify in what order to list the build project names based on the preceding criteria.
sourcepub fn sort_order(&self) -> Option<&SortOrderType>
pub fn sort_order(&self) -> Option<&SortOrderType>
The order in which to list build projects. Valid values include:
-
ASCENDING
: List in ascending order. -
DESCENDING
: List in descending order.
Use sortBy
to specify the criterion to be used to list build project names.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
During a previous call, if there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a nextToken. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.
source§impl ListProjectsInput
impl ListProjectsInput
sourcepub fn builder() -> ListProjectsInputBuilder
pub fn builder() -> ListProjectsInputBuilder
Creates a new builder-style object to manufacture ListProjectsInput
.
Trait Implementations§
source§impl Clone for ListProjectsInput
impl Clone for ListProjectsInput
source§fn clone(&self) -> ListProjectsInput
fn clone(&self) -> ListProjectsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListProjectsInput
impl Debug for ListProjectsInput
source§impl PartialEq for ListProjectsInput
impl PartialEq for ListProjectsInput
source§fn eq(&self, other: &ListProjectsInput) -> bool
fn eq(&self, other: &ListProjectsInput) -> bool
self
and other
values to be equal, and is used
by ==
.