pub struct RuleName(String);Expand description
The name of a branch rule, which fits the Forgejo branch protection routes.
Tuple Fields§
§0: StringImplementations§
Trait Implementations§
impl Eq for RuleName
Source§impl Ord for RuleName
impl Ord for RuleName
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 PartialOrd for RuleName
impl PartialOrd for RuleName
impl StructuralPartialEq for RuleName
Auto Trait Implementations§
impl Freeze for RuleName
impl RefUnwindSafe for RuleName
impl Send for RuleName
impl Sync for RuleName
impl Unpin for RuleName
impl UnsafeUnpin for RuleName
impl UnwindSafe for RuleName
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.