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