#[non_exhaustive]pub struct BatchGetRepositoriesOutput {
pub repositories: Option<Vec<RepositoryMetadata>>,
pub repositories_not_found: Option<Vec<String>>,
/* private fields */
}Expand description
Represents the output of a batch get repositories operation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
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.
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().
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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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
This method tests for
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>
Returns the request ID, or
None if the service could not be reached.impl StructuralPartialEq for BatchGetRepositoriesOutput
Auto Trait Implementations§
impl RefUnwindSafe for BatchGetRepositoriesOutput
impl Send for BatchGetRepositoriesOutput
impl Sync for BatchGetRepositoriesOutput
impl Unpin for BatchGetRepositoriesOutput
impl UnwindSafe for BatchGetRepositoriesOutput
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.