pub struct DeploymentBranchPolicy {
pub id: Option<i32>,
pub node_id: Option<String>,
pub name: Option<String>,
pub type: Option<Type>,
}
Expand description
DeploymentBranchPolicy : Details of a deployment branch or tag policy.
Fields§
§id: Option<i32>
The unique identifier of the branch or tag policy.
node_id: Option<String>
§name: Option<String>
The name pattern that branches or tags must match in order to deploy to the environment.
type: Option<Type>
Whether this rule targets a branch or tag.
Implementations§
Source§impl DeploymentBranchPolicy
impl DeploymentBranchPolicy
Sourcepub fn new() -> DeploymentBranchPolicy
pub fn new() -> DeploymentBranchPolicy
Details of a deployment branch or tag policy.
Trait Implementations§
Source§impl Clone for DeploymentBranchPolicy
impl Clone for DeploymentBranchPolicy
Source§fn clone(&self) -> DeploymentBranchPolicy
fn clone(&self) -> DeploymentBranchPolicy
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 Debug for DeploymentBranchPolicy
impl Debug for DeploymentBranchPolicy
Source§impl Default for DeploymentBranchPolicy
impl Default for DeploymentBranchPolicy
Source§fn default() -> DeploymentBranchPolicy
fn default() -> DeploymentBranchPolicy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeploymentBranchPolicy
impl<'de> Deserialize<'de> for DeploymentBranchPolicy
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 DeploymentBranchPolicy
impl PartialEq for DeploymentBranchPolicy
Source§impl Serialize for DeploymentBranchPolicy
impl Serialize for DeploymentBranchPolicy
impl StructuralPartialEq for DeploymentBranchPolicy
Auto Trait Implementations§
impl Freeze for DeploymentBranchPolicy
impl RefUnwindSafe for DeploymentBranchPolicy
impl Send for DeploymentBranchPolicy
impl Sync for DeploymentBranchPolicy
impl Unpin for DeploymentBranchPolicy
impl UnwindSafe for DeploymentBranchPolicy
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