pub struct DeploymentBranchPolicyNamePattern {
pub name: String,
}
Fields§
§name: String
The name pattern that branches must match in order to deploy to the environment. Wildcard characters will not match /
. For example, to match branches that begin with release/
and contain an additional single slash, use release/_*_/_*
. For more information about pattern matching syntax, see the Ruby File.fnmatch documentation.
Implementations§
Source§impl DeploymentBranchPolicyNamePattern
impl DeploymentBranchPolicyNamePattern
pub fn new(name: String) -> DeploymentBranchPolicyNamePattern
Trait Implementations§
Source§impl Clone for DeploymentBranchPolicyNamePattern
impl Clone for DeploymentBranchPolicyNamePattern
Source§fn clone(&self) -> DeploymentBranchPolicyNamePattern
fn clone(&self) -> DeploymentBranchPolicyNamePattern
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 DeploymentBranchPolicyNamePattern
impl Default for DeploymentBranchPolicyNamePattern
Source§fn default() -> DeploymentBranchPolicyNamePattern
fn default() -> DeploymentBranchPolicyNamePattern
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeploymentBranchPolicyNamePattern
impl<'de> Deserialize<'de> for DeploymentBranchPolicyNamePattern
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 DeploymentBranchPolicyNamePattern
impl PartialEq for DeploymentBranchPolicyNamePattern
Source§fn eq(&self, other: &DeploymentBranchPolicyNamePattern) -> bool
fn eq(&self, other: &DeploymentBranchPolicyNamePattern) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for DeploymentBranchPolicyNamePattern
Auto Trait Implementations§
impl Freeze for DeploymentBranchPolicyNamePattern
impl RefUnwindSafe for DeploymentBranchPolicyNamePattern
impl Send for DeploymentBranchPolicyNamePattern
impl Sync for DeploymentBranchPolicyNamePattern
impl Unpin for DeploymentBranchPolicyNamePattern
impl UnwindSafe for DeploymentBranchPolicyNamePattern
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