pub struct ListCodeReviewsRequest {
pub max_results: Option<i64>,
pub next_token: Option<String>,
pub provider_types: Option<Vec<String>>,
pub repository_names: Option<Vec<String>>,
pub states: Option<Vec<String>>,
pub type_: String,
}
Fields
max_results: Option<i64>
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.
provider_types: Option<Vec<String>>
List of provider types for filtering that needs to be applied before displaying the result. For example, providerTypes=[GitHub]
lists code reviews from GitHub.
repository_names: Option<Vec<String>>
List of repository names for filtering that needs to be applied before displaying the result.
states: Option<Vec<String>>
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.
type_: String
The type of code reviews to list in the response.
Trait Implementations
sourceimpl Clone for ListCodeReviewsRequest
impl Clone for ListCodeReviewsRequest
sourcefn clone(&self) -> ListCodeReviewsRequest
fn clone(&self) -> ListCodeReviewsRequest
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 ListCodeReviewsRequest
impl Debug for ListCodeReviewsRequest
sourceimpl Default for ListCodeReviewsRequest
impl Default for ListCodeReviewsRequest
sourcefn default() -> ListCodeReviewsRequest
fn default() -> ListCodeReviewsRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<ListCodeReviewsRequest> for ListCodeReviewsRequest
impl PartialEq<ListCodeReviewsRequest> for ListCodeReviewsRequest
sourcefn eq(&self, other: &ListCodeReviewsRequest) -> bool
fn eq(&self, other: &ListCodeReviewsRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ListCodeReviewsRequest) -> bool
fn ne(&self, other: &ListCodeReviewsRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for ListCodeReviewsRequest
impl Serialize for ListCodeReviewsRequest
impl StructuralPartialEq for ListCodeReviewsRequest
Auto Trait Implementations
impl RefUnwindSafe for ListCodeReviewsRequest
impl Send for ListCodeReviewsRequest
impl Sync for ListCodeReviewsRequest
impl Unpin for ListCodeReviewsRequest
impl UnwindSafe for ListCodeReviewsRequest
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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