pub struct ReposGetAllDeploymentProtectionRules200Response {
pub total_count: Option<i32>,
pub custom_deployment_protection_rules: Option<Vec<DeploymentProtectionRule>>,
}
Fields§
§total_count: Option<i32>
The number of enabled custom deployment protection rules for this environment
custom_deployment_protection_rules: Option<Vec<DeploymentProtectionRule>>
Implementations§
Trait Implementations§
Source§impl Clone for ReposGetAllDeploymentProtectionRules200Response
impl Clone for ReposGetAllDeploymentProtectionRules200Response
Source§fn clone(&self) -> ReposGetAllDeploymentProtectionRules200Response
fn clone(&self) -> ReposGetAllDeploymentProtectionRules200Response
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 ReposGetAllDeploymentProtectionRules200Response
impl Default for ReposGetAllDeploymentProtectionRules200Response
Source§fn default() -> ReposGetAllDeploymentProtectionRules200Response
fn default() -> ReposGetAllDeploymentProtectionRules200Response
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReposGetAllDeploymentProtectionRules200Response
impl<'de> Deserialize<'de> for ReposGetAllDeploymentProtectionRules200Response
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 ReposGetAllDeploymentProtectionRules200Response
impl PartialEq for ReposGetAllDeploymentProtectionRules200Response
Source§fn eq(&self, other: &ReposGetAllDeploymentProtectionRules200Response) -> bool
fn eq(&self, other: &ReposGetAllDeploymentProtectionRules200Response) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ReposGetAllDeploymentProtectionRules200Response
Auto Trait Implementations§
impl Freeze for ReposGetAllDeploymentProtectionRules200Response
impl RefUnwindSafe for ReposGetAllDeploymentProtectionRules200Response
impl Send for ReposGetAllDeploymentProtectionRules200Response
impl Sync for ReposGetAllDeploymentProtectionRules200Response
impl Unpin for ReposGetAllDeploymentProtectionRules200Response
impl UnwindSafe for ReposGetAllDeploymentProtectionRules200Response
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