Struct octorust::types::PullsCreateRequest [−][src]
pub struct PullsCreateRequest { pub base: String, pub body: String, pub draft: Option<bool>, pub head: String, pub issue: i64, pub maintainer_can_modify: Option<bool>, pub title: String, }
Fields
base: String
The name of the branch you want the changes pulled into. This should be an existing branch on the current repository. You cannot submit a pull request to one repository that requests a merge to a base of another repository.
body: String
The contents of the pull request.
draft: Option<bool>
Indicates whether the pull request is a draft. See “Draft Pull Requests” in the GitHub Help documentation to learn more.
head: String
The name of the branch where your changes are implemented. For cross-repository pull requests in the same network, namespace head
with a user like this: username:branch
.
issue: i64
maintainer_can_modify: Option<bool>
Indicates whether maintainers can modify the pull request.
title: String
The title of the new pull request.
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for PullsCreateRequest
impl Send for PullsCreateRequest
impl Sync for PullsCreateRequest
impl Unpin for PullsCreateRequest
impl UnwindSafe for PullsCreateRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more