#[non_exhaustive]pub struct BatchGetRepositoriesError {
pub repository_id: Option<String>,
pub repository_name: Option<String>,
pub error_code: Option<BatchGetRepositoriesErrorCodeEnum>,
pub error_message: Option<String>,
}
Expand description
Returns information about errors in a BatchGetRepositories 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.repository_id: Option<String>
The ID of a repository that either could not be found or was not in a valid state.
repository_name: Option<String>
The name of a repository that either could not be found or was not in a valid state.
error_code: Option<BatchGetRepositoriesErrorCodeEnum>
An error code that specifies the type of failure.
error_message: Option<String>
An error message that provides detail about why the repository either was not found or was not in a valid state.
Implementations§
source§impl BatchGetRepositoriesError
impl BatchGetRepositoriesError
sourcepub fn repository_id(&self) -> Option<&str>
pub fn repository_id(&self) -> Option<&str>
The ID of a repository that either could not be found or was not in a valid state.
sourcepub fn repository_name(&self) -> Option<&str>
pub fn repository_name(&self) -> Option<&str>
The name of a repository that either could not be found or was not in a valid state.
sourcepub fn error_code(&self) -> Option<&BatchGetRepositoriesErrorCodeEnum>
pub fn error_code(&self) -> Option<&BatchGetRepositoriesErrorCodeEnum>
An error code that specifies the type of failure.
sourcepub fn error_message(&self) -> Option<&str>
pub fn error_message(&self) -> Option<&str>
An error message that provides detail about why the repository either was not found or was not in a valid state.
source§impl BatchGetRepositoriesError
impl BatchGetRepositoriesError
sourcepub fn builder() -> BatchGetRepositoriesErrorBuilder
pub fn builder() -> BatchGetRepositoriesErrorBuilder
Creates a new builder-style object to manufacture BatchGetRepositoriesError
.
Trait Implementations§
source§impl Clone for BatchGetRepositoriesError
impl Clone for BatchGetRepositoriesError
source§fn clone(&self) -> BatchGetRepositoriesError
fn clone(&self) -> BatchGetRepositoriesError
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BatchGetRepositoriesError
impl Debug for BatchGetRepositoriesError
source§impl PartialEq for BatchGetRepositoriesError
impl PartialEq for BatchGetRepositoriesError
source§fn eq(&self, other: &BatchGetRepositoriesError) -> bool
fn eq(&self, other: &BatchGetRepositoriesError) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BatchGetRepositoriesError
Auto Trait Implementations§
impl Freeze for BatchGetRepositoriesError
impl RefUnwindSafe for BatchGetRepositoriesError
impl Send for BatchGetRepositoriesError
impl Sync for BatchGetRepositoriesError
impl Unpin for BatchGetRepositoriesError
impl UnwindSafe for BatchGetRepositoriesError
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