#[non_exhaustive]pub struct BatchGetRepositoriesOutput {
pub repositories: Option<Vec<RepositoryMetadata>>,
pub repositories_not_found: Option<Vec<String>>,
pub errors: Option<Vec<BatchGetRepositoriesError>>,
/* private fields */
}Expand description
Represents the output of a batch get repositories operation.
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.repositories: Option<Vec<RepositoryMetadata>>A list of repositories returned by the batch get repositories operation.
repositories_not_found: Option<Vec<String>>Returns a list of repository names for which information could not be found.
errors: Option<Vec<BatchGetRepositoriesError>>Returns information about any errors returned when attempting to retrieve information about the repositories.
Implementations§
source§impl BatchGetRepositoriesOutput
impl BatchGetRepositoriesOutput
sourcepub fn repositories(&self) -> &[RepositoryMetadata]
pub fn repositories(&self) -> &[RepositoryMetadata]
A list of repositories returned by the batch get repositories operation.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .repositories.is_none().
sourcepub fn repositories_not_found(&self) -> &[String]
pub fn repositories_not_found(&self) -> &[String]
Returns a list of repository names for which information could not be found.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .repositories_not_found.is_none().
sourcepub fn errors(&self) -> &[BatchGetRepositoriesError]
pub fn errors(&self) -> &[BatchGetRepositoriesError]
Returns information about any errors returned when attempting to retrieve information about the repositories.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .errors.is_none().
source§impl BatchGetRepositoriesOutput
impl BatchGetRepositoriesOutput
sourcepub fn builder() -> BatchGetRepositoriesOutputBuilder
pub fn builder() -> BatchGetRepositoriesOutputBuilder
Creates a new builder-style object to manufacture BatchGetRepositoriesOutput.
Trait Implementations§
source§impl Clone for BatchGetRepositoriesOutput
impl Clone for BatchGetRepositoriesOutput
source§fn clone(&self) -> BatchGetRepositoriesOutput
fn clone(&self) -> BatchGetRepositoriesOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for BatchGetRepositoriesOutput
impl Debug for BatchGetRepositoriesOutput
source§impl PartialEq for BatchGetRepositoriesOutput
impl PartialEq for BatchGetRepositoriesOutput
source§fn eq(&self, other: &BatchGetRepositoriesOutput) -> bool
fn eq(&self, other: &BatchGetRepositoriesOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for BatchGetRepositoriesOutput
impl RequestId for BatchGetRepositoriesOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.