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