pub struct TemporaryBranchNamespace(/* private fields */);Expand description
Branch namespace used only for temporary provider job refs.
Implementations§
Source§impl TemporaryBranchNamespace
impl TemporaryBranchNamespace
Sourcepub fn new(value: impl Into<String>) -> Result<Self, WorkflowConfigError>
pub fn new(value: impl Into<String>) -> Result<Self, WorkflowConfigError>
Validate a branch prefix such as rustferry/goal3/builds.
The namespace excludes refs/heads/; the generator adds it where a
full ref is required and appends /** only in the trigger filter.
§Errors
Rejects ref syntax, wildcard characters, reserved GitHub namespaces, and values longer than 192 bytes.
Trait Implementations§
Source§impl Clone for TemporaryBranchNamespace
impl Clone for TemporaryBranchNamespace
Source§impl Debug for TemporaryBranchNamespace
impl Debug for TemporaryBranchNamespace
impl Eq for TemporaryBranchNamespace
Source§impl Ord for TemporaryBranchNamespace
impl Ord for TemporaryBranchNamespace
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 TemporaryBranchNamespace
impl PartialEq for TemporaryBranchNamespace
Source§impl PartialOrd for TemporaryBranchNamespace
impl PartialOrd for TemporaryBranchNamespace
impl StructuralPartialEq for TemporaryBranchNamespace
Auto Trait Implementations§
impl Freeze for TemporaryBranchNamespace
impl RefUnwindSafe for TemporaryBranchNamespace
impl Send for TemporaryBranchNamespace
impl Sync for TemporaryBranchNamespace
impl Unpin for TemporaryBranchNamespace
impl UnsafeUnpin for TemporaryBranchNamespace
impl UnwindSafe for TemporaryBranchNamespace
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,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.