pub struct BranchPolicy {
pub name: String,
pub kind: BranchPolicyType,
}Expand description
A name pattern that may deploy to an environment.
Fields§
§name: StringThe name pattern. A * does not match a /.
kind: BranchPolicyTypeWhether the pattern matches branches or tags.
Trait Implementations§
Source§impl Clone for BranchPolicy
impl Clone for BranchPolicy
Source§fn clone(&self) -> BranchPolicy
fn clone(&self) -> BranchPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BranchPolicy
impl Debug for BranchPolicy
impl Eq for BranchPolicy
Source§impl<'ʄ> Facet<'ʄ> for BranchPolicy
impl<'ʄ> Facet<'ʄ> for BranchPolicy
Source§impl Ord for BranchPolicy
impl Ord for BranchPolicy
Source§fn cmp(&self, other: &BranchPolicy) -> Ordering
fn cmp(&self, other: &BranchPolicy) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for BranchPolicy
impl PartialEq for BranchPolicy
Source§impl PartialOrd for BranchPolicy
impl PartialOrd for BranchPolicy
impl StructuralPartialEq for BranchPolicy
Auto Trait Implementations§
impl Freeze for BranchPolicy
impl RefUnwindSafe for BranchPolicy
impl Send for BranchPolicy
impl Sync for BranchPolicy
impl Unpin for BranchPolicy
impl UnsafeUnpin for BranchPolicy
impl UnwindSafe for BranchPolicy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.