pub struct GitHubCreatePullRequest {
pub title: String,
pub body: String,
pub head: String,
pub base: String,
pub head_repo: Option<String>,
}Fields§
§title: String§body: String§head: String§base: String§head_repo: Option<String>Trait Implementations§
Source§impl Debug for GitHubCreatePullRequest
impl Debug for GitHubCreatePullRequest
Source§impl<'de> Deserialize<'de> for GitHubCreatePullRequest
impl<'de> Deserialize<'de> for GitHubCreatePullRequest
Source§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
Source§impl From<CreatePullRequest> for GitHubCreatePullRequest
impl From<CreatePullRequest> for GitHubCreatePullRequest
Source§fn from(pr: CreatePullRequest) -> Self
fn from(pr: CreatePullRequest) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GitHubCreatePullRequest
impl RefUnwindSafe for GitHubCreatePullRequest
impl Send for GitHubCreatePullRequest
impl Sync for GitHubCreatePullRequest
impl Unpin for GitHubCreatePullRequest
impl UnwindSafe for GitHubCreatePullRequest
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