pub struct WebPullRequestSettings {
pub allow_merge_commit_merge: Option<bool>,
pub allow_rebase_merge: Option<bool>,
pub allow_squash_merge: Option<bool>,
pub master_auto_as_reviewer: Option<bool>,
pub merge_commit_message_style: Option<String>,
pub squash_commit_message_style: Option<String>,
}
Expand description
WebPullRequestSettings 模型
Fields§
§allow_merge_commit_merge: Option<bool>
§allow_rebase_merge: Option<bool>
§allow_squash_merge: Option<bool>
§master_auto_as_reviewer: Option<bool>
§merge_commit_message_style: Option<String>
§squash_commit_message_style: Option<String>
Trait Implementations§
Source§impl Clone for WebPullRequestSettings
impl Clone for WebPullRequestSettings
Source§fn clone(&self) -> WebPullRequestSettings
fn clone(&self) -> WebPullRequestSettings
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 WebPullRequestSettings
impl Debug for WebPullRequestSettings
Source§impl<'de> Deserialize<'de> for WebPullRequestSettings
impl<'de> Deserialize<'de> for WebPullRequestSettings
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 WebPullRequestSettings
impl RefUnwindSafe for WebPullRequestSettings
impl Send for WebPullRequestSettings
impl Sync for WebPullRequestSettings
impl Unpin for WebPullRequestSettings
impl UnwindSafe for WebPullRequestSettings
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