pub struct ProtectionBranch {
pub bypass: Option<Box<DefBypass>>,
pub lifecycle: Option<Box<DefLifecycle>>,
pub pullreq: Option<Box<DefPullreq>>,
}Fields§
§bypass: Option<Box<DefBypass>>§lifecycle: Option<Box<DefLifecycle>>§pullreq: Option<Box<DefPullreq>>Implementations§
Source§impl ProtectionBranch
impl ProtectionBranch
pub fn new() -> ProtectionBranch
Trait Implementations§
Source§impl Clone for ProtectionBranch
impl Clone for ProtectionBranch
Source§fn clone(&self) -> ProtectionBranch
fn clone(&self) -> ProtectionBranch
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 ProtectionBranch
impl Debug for ProtectionBranch
Source§impl Default for ProtectionBranch
impl Default for ProtectionBranch
Source§fn default() -> ProtectionBranch
fn default() -> ProtectionBranch
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProtectionBranch
impl<'de> Deserialize<'de> for ProtectionBranch
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 ProtectionBranch
impl PartialEq for ProtectionBranch
Source§impl Serialize for ProtectionBranch
impl Serialize for ProtectionBranch
impl StructuralPartialEq for ProtectionBranch
Auto Trait Implementations§
impl Freeze for ProtectionBranch
impl RefUnwindSafe for ProtectionBranch
impl Send for ProtectionBranch
impl Sync for ProtectionBranch
impl Unpin for ProtectionBranch
impl UnwindSafe for ProtectionBranch
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