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