pub struct RepositoryRuleCreation {
pub type: Type,
}
Expand description
RepositoryRuleCreation : Only allow users with bypass permission to create matching refs.
Fields§
§type: Type
Implementations§
Source§impl RepositoryRuleCreation
impl RepositoryRuleCreation
Sourcepub fn new(type: Type) -> RepositoryRuleCreation
pub fn new(type: Type) -> RepositoryRuleCreation
Only allow users with bypass permission to create matching refs.
Trait Implementations§
Source§impl Clone for RepositoryRuleCreation
impl Clone for RepositoryRuleCreation
Source§fn clone(&self) -> RepositoryRuleCreation
fn clone(&self) -> RepositoryRuleCreation
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 Debug for RepositoryRuleCreation
impl Debug for RepositoryRuleCreation
Source§impl Default for RepositoryRuleCreation
impl Default for RepositoryRuleCreation
Source§fn default() -> RepositoryRuleCreation
fn default() -> RepositoryRuleCreation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RepositoryRuleCreation
impl<'de> Deserialize<'de> for RepositoryRuleCreation
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 RepositoryRuleCreation
impl PartialEq for RepositoryRuleCreation
Source§impl Serialize for RepositoryRuleCreation
impl Serialize for RepositoryRuleCreation
impl StructuralPartialEq for RepositoryRuleCreation
Auto Trait Implementations§
impl Freeze for RepositoryRuleCreation
impl RefUnwindSafe for RepositoryRuleCreation
impl Send for RepositoryRuleCreation
impl Sync for RepositoryRuleCreation
impl Unpin for RepositoryRuleCreation
impl UnwindSafe for RepositoryRuleCreation
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