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