Struct hubcaps::branches::ProtectionState
source · pub struct ProtectionState {
pub required_status_checks: Option<StatusChecks>,
pub enforce_admins: Option<EnforceAdmins>,
}
Fields
required_status_checks: Option<StatusChecks>
enforce_admins: Option<EnforceAdmins>
Trait Implementations
sourceimpl Debug for ProtectionState
impl Debug for ProtectionState
sourceimpl<'de> Deserialize<'de> for ProtectionState
impl<'de> Deserialize<'de> for ProtectionState
sourcefn 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
sourceimpl Serialize for ProtectionState
impl Serialize for ProtectionState
Auto Trait Implementations
impl RefUnwindSafe for ProtectionState
impl Send for ProtectionState
impl Sync for ProtectionState
impl Unpin for ProtectionState
impl UnwindSafe for ProtectionState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more