pub struct ProtectedBranchAdminEnforced {
pub url: String,
pub enabled: bool,
}
Expand description
ProtectedBranchAdminEnforced : Protected Branch Admin Enforced
Fields§
§url: String
§enabled: bool
Implementations§
Source§impl ProtectedBranchAdminEnforced
impl ProtectedBranchAdminEnforced
Sourcepub fn new(url: String, enabled: bool) -> ProtectedBranchAdminEnforced
pub fn new(url: String, enabled: bool) -> ProtectedBranchAdminEnforced
Protected Branch Admin Enforced
Trait Implementations§
Source§impl Clone for ProtectedBranchAdminEnforced
impl Clone for ProtectedBranchAdminEnforced
Source§fn clone(&self) -> ProtectedBranchAdminEnforced
fn clone(&self) -> ProtectedBranchAdminEnforced
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 ProtectedBranchAdminEnforced
impl Debug for ProtectedBranchAdminEnforced
Source§impl Default for ProtectedBranchAdminEnforced
impl Default for ProtectedBranchAdminEnforced
Source§fn default() -> ProtectedBranchAdminEnforced
fn default() -> ProtectedBranchAdminEnforced
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProtectedBranchAdminEnforced
impl<'de> Deserialize<'de> for ProtectedBranchAdminEnforced
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 ProtectedBranchAdminEnforced
impl PartialEq for ProtectedBranchAdminEnforced
Source§fn eq(&self, other: &ProtectedBranchAdminEnforced) -> bool
fn eq(&self, other: &ProtectedBranchAdminEnforced) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ProtectedBranchAdminEnforced
Auto Trait Implementations§
impl Freeze for ProtectedBranchAdminEnforced
impl RefUnwindSafe for ProtectedBranchAdminEnforced
impl Send for ProtectedBranchAdminEnforced
impl Sync for ProtectedBranchAdminEnforced
impl Unpin for ProtectedBranchAdminEnforced
impl UnwindSafe for ProtectedBranchAdminEnforced
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