pub struct RepositoryRuleRequiredLinearHistory {
pub _type: Option<String>,
}
Expand description
Prevent merge commits from being pushed to matching refs.
Fields§
§_type: Option<String>
Trait Implementations§
Source§impl Clone for RepositoryRuleRequiredLinearHistory
impl Clone for RepositoryRuleRequiredLinearHistory
Source§fn clone(&self) -> RepositoryRuleRequiredLinearHistory
fn clone(&self) -> RepositoryRuleRequiredLinearHistory
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 RepositoryRuleRequiredLinearHistory
impl Default for RepositoryRuleRequiredLinearHistory
Source§fn default() -> RepositoryRuleRequiredLinearHistory
fn default() -> RepositoryRuleRequiredLinearHistory
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RepositoryRuleRequiredLinearHistory
impl<'de> Deserialize<'de> for RepositoryRuleRequiredLinearHistory
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 From<RepositoryRuleRequiredLinearHistory> for RepositoryRule
impl From<RepositoryRuleRequiredLinearHistory> for RepositoryRule
Source§fn from(value: RepositoryRuleRequiredLinearHistory) -> Self
fn from(value: RepositoryRuleRequiredLinearHistory) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RepositoryRuleRequiredLinearHistory
impl PartialEq for RepositoryRuleRequiredLinearHistory
Source§fn eq(&self, other: &RepositoryRuleRequiredLinearHistory) -> bool
fn eq(&self, other: &RepositoryRuleRequiredLinearHistory) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for RepositoryRuleRequiredLinearHistory
Auto Trait Implementations§
impl Freeze for RepositoryRuleRequiredLinearHistory
impl RefUnwindSafe for RepositoryRuleRequiredLinearHistory
impl Send for RepositoryRuleRequiredLinearHistory
impl Sync for RepositoryRuleRequiredLinearHistory
impl Unpin for RepositoryRuleRequiredLinearHistory
impl UnwindSafe for RepositoryRuleRequiredLinearHistory
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