pub struct CreatePullRequest {
pub title: String,
pub description: String,
pub source: String,
pub target: Option<String>,
pub close_source_branch: bool,
pub reviewers: Vec<String>,
}Fields§
§title: String§description: String§source: String§target: Option<String>§close_source_branch: bool§reviewers: Vec<String>Trait Implementations§
Source§impl Debug for CreatePullRequest
impl Debug for CreatePullRequest
Source§impl<'de> Deserialize<'de> for CreatePullRequest
impl<'de> Deserialize<'de> for CreatePullRequest
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 BitbucketCreatePullRequest
impl From<CreatePullRequest> for BitbucketCreatePullRequest
Source§fn from(pr: CreatePullRequest) -> Self
fn from(pr: CreatePullRequest) -> Self
Converts to this type from the input type.
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.
Source§impl From<CreatePullRequest> for GitLabCreatePullRequest
impl From<CreatePullRequest> for GitLabCreatePullRequest
Source§fn from(pr: CreatePullRequest) -> Self
fn from(pr: CreatePullRequest) -> Self
Converts to this type from the input type.
Source§impl From<CreatePullRequest> for GiteaCreatePullRequest
impl From<CreatePullRequest> for GiteaCreatePullRequest
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 CreatePullRequest
impl RefUnwindSafe for CreatePullRequest
impl Send for CreatePullRequest
impl Sync for CreatePullRequest
impl Unpin for CreatePullRequest
impl UnwindSafe for CreatePullRequest
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