#[non_exhaustive]pub struct FetchGitRepositoryLinkPullRequestListRequest {
pub name: String,
pub filter: String,
pub page_size: i32,
pub page_token: String,
/* private fields */
}Expand description
Request message for FetchGitRepositoryLinkPullRequestList.
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.name: StringRequired. The GitRepositoryLink resource name in the format
projects/*/locations/*/connections/*/gitRepositoryLinks/*.
filter: StringOptional. A filter expression that filters the pull requests returned in
the response. Only a single equality comparison on state is supported,
for example state = "OPEN". Supported values are OPEN, CLOSED, and
MERGED. DECLINED is only supported for SCM providers that support
declining pull requests, and returns INVALID_ARGUMENT for GitHub, GitHub
Enterprise, GitLab, and GitLab Enterprise. Other values or expressions
return INVALID_ARGUMENT. Defaults to state = "OPEN" if unspecified.
page_size: i32Optional. Number of results to return in the list. Default is 20. Max is
100. A page may contain fewer than page_size results even when more
results are available; use next_page_token to check for more pages.
page_token: StringOptional. A page token, received from a previous
FetchGitRepositoryLinkPullRequestList call. Provide this to retrieve the
subsequent page.
Implementations§
Source§impl FetchGitRepositoryLinkPullRequestListRequest
impl FetchGitRepositoryLinkPullRequestListRequest
Sourcepub fn set_filter<T: Into<String>>(self, v: T) -> Self
pub fn set_filter<T: Into<String>>(self, v: T) -> Self
Sourcepub fn set_page_size<T: Into<i32>>(self, v: T) -> Self
pub fn set_page_size<T: Into<i32>>(self, v: T) -> Self
Sourcepub fn set_page_token<T: Into<String>>(self, v: T) -> Self
pub fn set_page_token<T: Into<String>>(self, v: T) -> Self
Sets the value of page_token.
§Example
let x = FetchGitRepositoryLinkPullRequestListRequest::new().set_page_token("example");Trait Implementations§
impl StructuralPartialEq for FetchGitRepositoryLinkPullRequestListRequest
Auto Trait Implementations§
impl Forget for FetchGitRepositoryLinkPullRequestListRequest
impl Freeze for FetchGitRepositoryLinkPullRequestListRequest
impl Move for FetchGitRepositoryLinkPullRequestListRequest
impl RefUnwindSafe for FetchGitRepositoryLinkPullRequestListRequest
impl Send for FetchGitRepositoryLinkPullRequestListRequest
impl Sync for FetchGitRepositoryLinkPullRequestListRequest
impl Unpin for FetchGitRepositoryLinkPullRequestListRequest
impl UnsafeUnpin for FetchGitRepositoryLinkPullRequestListRequest
impl UnwindSafe for FetchGitRepositoryLinkPullRequestListRequest
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
Source§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request