pub struct RepositorySettings {
pub allow_squash_merge: bool,
pub allow_merge_commit: bool,
pub allow_rebase_merge: bool,
pub delete_branch_on_merge: bool,
}Fields§
§allow_squash_merge: bool§allow_merge_commit: bool§allow_rebase_merge: bool§delete_branch_on_merge: boolTrait Implementations§
Source§impl Clone for RepositorySettings
impl Clone for RepositorySettings
Source§fn clone(&self) -> RepositorySettings
fn clone(&self) -> RepositorySettings
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RepositorySettings
impl Debug for RepositorySettings
Source§impl<'de> Deserialize<'de> for RepositorySettings
impl<'de> Deserialize<'de> for RepositorySettings
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 Eq for RepositorySettings
Source§impl PartialEq for RepositorySettings
impl PartialEq for RepositorySettings
Source§impl Serialize for RepositorySettings
impl Serialize for RepositorySettings
impl StructuralPartialEq for RepositorySettings
Auto Trait Implementations§
impl Freeze for RepositorySettings
impl RefUnwindSafe for RepositorySettings
impl Send for RepositorySettings
impl Sync for RepositorySettings
impl Unpin for RepositorySettings
impl UnsafeUnpin for RepositorySettings
impl UnwindSafe for RepositorySettings
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