#[non_exhaustive]pub struct ListProjectsOutput {
pub items: Option<Vec<ProjectSummary>>,
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.items: Option<Vec<ProjectSummary>>
The results of the ListProjects
action.
next_token: Option<String>
When the number of projects is greater than the default value for the MaxResults
parameter, or if you explicitly specify a value for MaxResults
that is less than the number of projects, the response includes a pagination token named NextToken
. You can specify this NextToken
value in a subsequent call to ListProjects
to list the next set of projects.
Implementations§
source§impl ListProjectsOutput
impl ListProjectsOutput
sourcepub fn items(&self) -> &[ProjectSummary]
pub fn items(&self) -> &[ProjectSummary]
The results of the ListProjects
action.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .items.is_none()
.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
When the number of projects is greater than the default value for the MaxResults
parameter, or if you explicitly specify a value for MaxResults
that is less than the number of projects, the response includes a pagination token named NextToken
. You can specify this NextToken
value in a subsequent call to ListProjects
to list the next set of projects.
source§impl ListProjectsOutput
impl ListProjectsOutput
sourcepub fn builder() -> ListProjectsOutputBuilder
pub fn builder() -> ListProjectsOutputBuilder
Creates a new builder-style object to manufacture ListProjectsOutput
.
Trait Implementations§
source§impl Clone for ListProjectsOutput
impl Clone for ListProjectsOutput
source§fn clone(&self) -> ListProjectsOutput
fn clone(&self) -> ListProjectsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListProjectsOutput
impl Debug for ListProjectsOutput
source§impl PartialEq for ListProjectsOutput
impl PartialEq for ListProjectsOutput
source§impl RequestId for ListProjectsOutput
impl RequestId for ListProjectsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for ListProjectsOutput
Auto Trait Implementations§
impl Freeze for ListProjectsOutput
impl RefUnwindSafe for ListProjectsOutput
impl Send for ListProjectsOutput
impl Sync for ListProjectsOutput
impl Unpin for ListProjectsOutput
impl UnwindSafe for ListProjectsOutput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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