pub struct ProtectedBranchRequiredLinearHistory {
pub enabled: bool,
}
Fields§
§enabled: bool
Implementations§
Source§impl ProtectedBranchRequiredLinearHistory
impl ProtectedBranchRequiredLinearHistory
pub fn new(enabled: bool) -> ProtectedBranchRequiredLinearHistory
Trait Implementations§
Source§impl Clone for ProtectedBranchRequiredLinearHistory
impl Clone for ProtectedBranchRequiredLinearHistory
Source§fn clone(&self) -> ProtectedBranchRequiredLinearHistory
fn clone(&self) -> ProtectedBranchRequiredLinearHistory
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 Default for ProtectedBranchRequiredLinearHistory
impl Default for ProtectedBranchRequiredLinearHistory
Source§fn default() -> ProtectedBranchRequiredLinearHistory
fn default() -> ProtectedBranchRequiredLinearHistory
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProtectedBranchRequiredLinearHistory
impl<'de> Deserialize<'de> for ProtectedBranchRequiredLinearHistory
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 PartialEq for ProtectedBranchRequiredLinearHistory
impl PartialEq for ProtectedBranchRequiredLinearHistory
Source§fn eq(&self, other: &ProtectedBranchRequiredLinearHistory) -> bool
fn eq(&self, other: &ProtectedBranchRequiredLinearHistory) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ProtectedBranchRequiredLinearHistory
Auto Trait Implementations§
impl Freeze for ProtectedBranchRequiredLinearHistory
impl RefUnwindSafe for ProtectedBranchRequiredLinearHistory
impl Send for ProtectedBranchRequiredLinearHistory
impl Sync for ProtectedBranchRequiredLinearHistory
impl Unpin for ProtectedBranchRequiredLinearHistory
impl UnwindSafe for ProtectedBranchRequiredLinearHistory
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