pub struct UpdatePullRequestRequest {
pub title: Option<String>,
pub body: Option<String>,
pub state: Option<String>,
pub base: Option<String>,
}Expand description
Request to update an existing pull request.
Note: milestone assignment is not supported here — the GitHub Pulls API
silently ignores the milestone field. Use PullRequestsClient::set_milestone
which delegates to the Issues API endpoint that actually applies the milestone.
Fields§
§title: Option<String>Pull request title
body: Option<String>Pull request body content (Markdown)
state: Option<String>Pull request state
base: Option<String>Base branch
Trait Implementations§
Source§impl Clone for UpdatePullRequestRequest
impl Clone for UpdatePullRequestRequest
Source§fn clone(&self) -> UpdatePullRequestRequest
fn clone(&self) -> UpdatePullRequestRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UpdatePullRequestRequest
impl Debug for UpdatePullRequestRequest
Source§impl Default for UpdatePullRequestRequest
impl Default for UpdatePullRequestRequest
Source§fn default() -> UpdatePullRequestRequest
fn default() -> UpdatePullRequestRequest
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UpdatePullRequestRequest
impl RefUnwindSafe for UpdatePullRequestRequest
impl Send for UpdatePullRequestRequest
impl Sync for UpdatePullRequestRequest
impl Unpin for UpdatePullRequestRequest
impl UnsafeUnpin for UpdatePullRequestRequest
impl UnwindSafe for UpdatePullRequestRequest
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