pub struct ApiPullRequestSettings {
pub allow_squash_merge: Option<bool>,
pub merge_commit_message_style: Option<String>,
pub squash_commit_message_style: Option<String>,
pub allow_rebase_merge: Option<bool>,
pub master_auto_as_reviewer: Option<bool>,
pub allow_merge_commit_merge: Option<bool>,
}
Expand description
ApiPullRequestSettings 模型
Fields§
§allow_squash_merge: Option<bool>
§merge_commit_message_style: Option<String>
§squash_commit_message_style: Option<String>
§allow_rebase_merge: Option<bool>
§master_auto_as_reviewer: Option<bool>
§allow_merge_commit_merge: Option<bool>
Trait Implementations§
Source§impl Clone for ApiPullRequestSettings
impl Clone for ApiPullRequestSettings
Source§fn clone(&self) -> ApiPullRequestSettings
fn clone(&self) -> ApiPullRequestSettings
Returns a duplicate of the value. Read more
1.0.0 · 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 ApiPullRequestSettings
impl Debug for ApiPullRequestSettings
Source§impl<'de> Deserialize<'de> for ApiPullRequestSettings
impl<'de> Deserialize<'de> for ApiPullRequestSettings
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
Auto Trait Implementations§
impl Freeze for ApiPullRequestSettings
impl RefUnwindSafe for ApiPullRequestSettings
impl Send for ApiPullRequestSettings
impl Sync for ApiPullRequestSettings
impl Unpin for ApiPullRequestSettings
impl UnwindSafe for ApiPullRequestSettings
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