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§
Source§impl Debug for ProtectionState
impl Debug for ProtectionState
Source§impl<'de> Deserialize<'de> for ProtectionState
impl<'de> Deserialize<'de> for ProtectionState
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
Auto Trait Implementations§
impl Freeze for ProtectionState
impl RefUnwindSafe for ProtectionState
impl Send for ProtectionState
impl Sync for ProtectionState
impl Unpin for ProtectionState
impl UnwindSafe for ProtectionState
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