#[non_exhaustive]pub struct DescribeRepositoriesInput {
pub registry_id: Option<String>,
pub repository_names: Option<Vec<String>>,
pub next_token: Option<String>,
pub max_results: Option<i32>,
}
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.registry_id: Option<String>
The Amazon Web Services account ID that's associated with the registry that contains the repositories to be described. If you do not specify a registry, the default public registry is assumed.
repository_names: Option<Vec<String>>
A list of repositories to describe. If this parameter is omitted, then all repositories in a registry are described.
next_token: Option<String>
The nextToken
value that's returned from a previous paginated DescribeRepositories
request where maxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken
value. If there are no more results to return, this value is null
. If you specify repositories with repositoryNames
, you can't use this option.
This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
max_results: Option<i32>
The maximum number of repository results that's returned by DescribeRepositories
in paginated output. When this parameter is used, DescribeRepositories
only returns maxResults
results in a single page along with a nextToken
response element. You can see the remaining results of the initial request by sending another DescribeRepositories
request with the returned nextToken
value. This value can be between 1 and 1000. If this parameter isn't used, then DescribeRepositories
returns up to 100 results and a nextToken
value, if applicable. If you specify repositories with repositoryNames
, you can't use this option.
Implementations§
source§impl DescribeRepositoriesInput
impl DescribeRepositoriesInput
sourcepub fn registry_id(&self) -> Option<&str>
pub fn registry_id(&self) -> Option<&str>
The Amazon Web Services account ID that's associated with the registry that contains the repositories to be described. If you do not specify a registry, the default public registry is assumed.
sourcepub fn repository_names(&self) -> &[String]
pub fn repository_names(&self) -> &[String]
A list of repositories to describe. If this parameter is omitted, then all repositories in a registry are described.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .repository_names.is_none()
.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The nextToken
value that's returned from a previous paginated DescribeRepositories
request where maxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken
value. If there are no more results to return, this value is null
. If you specify repositories with repositoryNames
, you can't use this option.
This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of repository results that's returned by DescribeRepositories
in paginated output. When this parameter is used, DescribeRepositories
only returns maxResults
results in a single page along with a nextToken
response element. You can see the remaining results of the initial request by sending another DescribeRepositories
request with the returned nextToken
value. This value can be between 1 and 1000. If this parameter isn't used, then DescribeRepositories
returns up to 100 results and a nextToken
value, if applicable. If you specify repositories with repositoryNames
, you can't use this option.
source§impl DescribeRepositoriesInput
impl DescribeRepositoriesInput
sourcepub fn builder() -> DescribeRepositoriesInputBuilder
pub fn builder() -> DescribeRepositoriesInputBuilder
Creates a new builder-style object to manufacture DescribeRepositoriesInput
.
Trait Implementations§
source§impl Clone for DescribeRepositoriesInput
impl Clone for DescribeRepositoriesInput
source§fn clone(&self) -> DescribeRepositoriesInput
fn clone(&self) -> DescribeRepositoriesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribeRepositoriesInput
impl Debug for DescribeRepositoriesInput
source§impl PartialEq for DescribeRepositoriesInput
impl PartialEq for DescribeRepositoriesInput
source§fn eq(&self, other: &DescribeRepositoriesInput) -> bool
fn eq(&self, other: &DescribeRepositoriesInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeRepositoriesInput
Auto Trait Implementations§
impl Freeze for DescribeRepositoriesInput
impl RefUnwindSafe for DescribeRepositoriesInput
impl Send for DescribeRepositoriesInput
impl Sync for DescribeRepositoriesInput
impl Unpin for DescribeRepositoriesInput
impl UnwindSafe for DescribeRepositoriesInput
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