pub struct AutoMerge {
pub enabled_by: Box<SimpleUser>,
pub merge_method: MergeMethod,
pub commit_title: String,
pub commit_message: String,
}
Expand description
AutoMerge : The status of auto merging a pull request.
Fields§
§enabled_by: Box<SimpleUser>
§merge_method: MergeMethod
The merge method to use.
commit_title: String
Title for the merge commit message.
commit_message: String
Commit message for the merge commit.
Implementations§
Source§impl AutoMerge
impl AutoMerge
Sourcepub fn new(
enabled_by: SimpleUser,
merge_method: MergeMethod,
commit_title: String,
commit_message: String,
) -> AutoMerge
pub fn new( enabled_by: SimpleUser, merge_method: MergeMethod, commit_title: String, commit_message: String, ) -> AutoMerge
The status of auto merging a pull request.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AutoMerge
impl<'de> Deserialize<'de> for AutoMerge
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
impl StructuralPartialEq for AutoMerge
Auto Trait Implementations§
impl Freeze for AutoMerge
impl RefUnwindSafe for AutoMerge
impl Send for AutoMerge
impl Sync for AutoMerge
impl Unpin for AutoMerge
impl UnwindSafe for AutoMerge
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