#[non_exhaustive]pub struct ListCodeReviewsInput {
pub provider_types: Option<Vec<ProviderType>>,
pub states: Option<Vec<JobState>>,
pub repository_names: Option<Vec<String>>,
pub type: Option<Type>,
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.provider_types: Option<Vec<ProviderType>> List of provider types for filtering that needs to be applied before displaying the result. For example, providerTypes=[GitHub] lists code reviews from GitHub.
states: Option<Vec<JobState>> List of states for filtering that needs to be applied before displaying the result. For example, states=[Pending] lists code reviews in the Pending state.
The valid code review states are:
-
Completed: The code review is complete. -
Pending: The code review started and has not completed or failed. -
Failed: The code review failed. -
Deleting: The code review is being deleted.
repository_names: Option<Vec<String>>List of repository names for filtering that needs to be applied before displaying the result.
type: Option<Type>The type of code reviews to list in the response.
max_results: Option<i32>The maximum number of results that are returned per call. The default is 100.
next_token: Option<String>If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
Implementations
sourceimpl ListCodeReviewsInput
impl ListCodeReviewsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListCodeReviews, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListCodeReviews, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<ListCodeReviews>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ListCodeReviewsInput
sourceimpl ListCodeReviewsInput
impl ListCodeReviewsInput
sourcepub fn provider_types(&self) -> Option<&[ProviderType]>
pub fn provider_types(&self) -> Option<&[ProviderType]>
List of provider types for filtering that needs to be applied before displaying the result. For example, providerTypes=[GitHub] lists code reviews from GitHub.
sourcepub fn states(&self) -> Option<&[JobState]>
pub fn states(&self) -> Option<&[JobState]>
List of states for filtering that needs to be applied before displaying the result. For example, states=[Pending] lists code reviews in the Pending state.
The valid code review states are:
-
Completed: The code review is complete. -
Pending: The code review started and has not completed or failed. -
Failed: The code review failed. -
Deleting: The code review is being deleted.
sourcepub fn repository_names(&self) -> Option<&[String]>
pub fn repository_names(&self) -> Option<&[String]>
List of repository names for filtering that needs to be applied before displaying the result.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of results that are returned per call. The default is 100.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
Trait Implementations
sourceimpl Clone for ListCodeReviewsInput
impl Clone for ListCodeReviewsInput
sourcefn clone(&self) -> ListCodeReviewsInput
fn clone(&self) -> ListCodeReviewsInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ListCodeReviewsInput
impl Debug for ListCodeReviewsInput
sourceimpl PartialEq<ListCodeReviewsInput> for ListCodeReviewsInput
impl PartialEq<ListCodeReviewsInput> for ListCodeReviewsInput
sourcefn eq(&self, other: &ListCodeReviewsInput) -> bool
fn eq(&self, other: &ListCodeReviewsInput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ListCodeReviewsInput) -> bool
fn ne(&self, other: &ListCodeReviewsInput) -> bool
This method tests for !=.
impl StructuralPartialEq for ListCodeReviewsInput
Auto Trait Implementations
impl RefUnwindSafe for ListCodeReviewsInput
impl Send for ListCodeReviewsInput
impl Sync for ListCodeReviewsInput
impl Unpin for ListCodeReviewsInput
impl UnwindSafe for ListCodeReviewsInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more