#[non_exhaustive]pub struct ListComponentsInput {
pub owner: Option<Ownership>,
pub filters: Option<Vec<Filter>>,
pub by_name: Option<bool>,
pub max_results: 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.owner: Option<Ownership>
Filters results based on the type of owner for the component. By default, this request returns a list of components that your account owns. To see results for other types of owners, you can specify components that Amazon manages, third party components, or components that other accounts have shared with you.
filters: Option<Vec<Filter>>
Use the following filters to streamline results:
-
description
-
name
-
platform
-
supportedOsVersion
-
type
-
version
by_name: Option<bool>
Returns the list of components for the specified name.
max_results: Option<i32>
The maximum items to return in a request.
next_token: Option<String>
A token to specify where to start paginating. This is the nextToken from a previously truncated response.
Implementations§
source§impl ListComponentsInput
impl ListComponentsInput
sourcepub fn owner(&self) -> Option<&Ownership>
pub fn owner(&self) -> Option<&Ownership>
Filters results based on the type of owner for the component. By default, this request returns a list of components that your account owns. To see results for other types of owners, you can specify components that Amazon manages, third party components, or components that other accounts have shared with you.
sourcepub fn filters(&self) -> &[Filter]
pub fn filters(&self) -> &[Filter]
Use the following filters to streamline results:
-
description
-
name
-
platform
-
supportedOsVersion
-
type
-
version
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .filters.is_none()
.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum items to return in a request.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
A token to specify where to start paginating. This is the nextToken from a previously truncated response.
source§impl ListComponentsInput
impl ListComponentsInput
sourcepub fn builder() -> ListComponentsInputBuilder
pub fn builder() -> ListComponentsInputBuilder
Creates a new builder-style object to manufacture ListComponentsInput
.
Trait Implementations§
source§impl Clone for ListComponentsInput
impl Clone for ListComponentsInput
source§fn clone(&self) -> ListComponentsInput
fn clone(&self) -> ListComponentsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListComponentsInput
impl Debug for ListComponentsInput
source§impl PartialEq for ListComponentsInput
impl PartialEq for ListComponentsInput
source§fn eq(&self, other: &ListComponentsInput) -> bool
fn eq(&self, other: &ListComponentsInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListComponentsInput
Auto Trait Implementations§
impl Freeze for ListComponentsInput
impl RefUnwindSafe for ListComponentsInput
impl Send for ListComponentsInput
impl Sync for ListComponentsInput
impl Unpin for ListComponentsInput
impl UnwindSafe for ListComponentsInput
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