pub struct GitLabCreatePullRequest {
pub title: String,
pub description: String,
pub source_branch: String,
pub target_branch: String,
pub remove_source_branch: bool,
pub reviewer_ids: Vec<String>,
pub target_project_id: Option<u32>,
}Fields§
§title: String§description: String§source_branch: String§target_branch: String§remove_source_branch: bool§reviewer_ids: Vec<String>§target_project_id: Option<u32>Trait Implementations§
Source§impl Debug for GitLabCreatePullRequest
impl Debug for GitLabCreatePullRequest
Source§impl<'de> Deserialize<'de> for GitLabCreatePullRequest
impl<'de> Deserialize<'de> for GitLabCreatePullRequest
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 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.
Auto Trait Implementations§
impl Freeze for GitLabCreatePullRequest
impl RefUnwindSafe for GitLabCreatePullRequest
impl Send for GitLabCreatePullRequest
impl Sync for GitLabCreatePullRequest
impl Unpin for GitLabCreatePullRequest
impl UnwindSafe for GitLabCreatePullRequest
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