#[non_exhaustive]pub struct GetPullRequestRequest {
pub name: String,
/* private fields */
}Expand description
GetPullRequestRequest is the request to get a pull request.
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.name: StringRequired. Name of the pull request to retrieve.
The format is
projects/{project}/locations/{location}/repositories/{repository}/pullRequests/{pull_request}.
Implementations§
Trait Implementations§
Source§impl Clone for GetPullRequestRequest
impl Clone for GetPullRequestRequest
Source§fn clone(&self) -> GetPullRequestRequest
fn clone(&self) -> GetPullRequestRequest
Returns a duplicate 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 GetPullRequestRequest
impl Debug for GetPullRequestRequest
Source§impl Default for GetPullRequestRequest
impl Default for GetPullRequestRequest
Source§fn default() -> GetPullRequestRequest
fn default() -> GetPullRequestRequest
Returns the “default value” for a type. Read more
Source§impl Message for GetPullRequestRequest
impl Message for GetPullRequestRequest
Source§impl PartialEq for GetPullRequestRequest
impl PartialEq for GetPullRequestRequest
impl StructuralPartialEq for GetPullRequestRequest
Auto Trait Implementations§
impl Freeze for GetPullRequestRequest
impl RefUnwindSafe for GetPullRequestRequest
impl Send for GetPullRequestRequest
impl Sync for GetPullRequestRequest
impl Unpin for GetPullRequestRequest
impl UnwindSafe for GetPullRequestRequest
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