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