pub struct RulesetName(String);Expand description
The name of a ruleset, which is never empty.
Tuple Fields§
§0: StringImplementations§
Trait Implementations§
Source§impl AsRef<str> for RulesetName
impl AsRef<str> for RulesetName
Source§impl Borrow<str> for RulesetName
impl Borrow<str> for RulesetName
Source§impl Clone for RulesetName
impl Clone for RulesetName
Source§fn clone(&self) -> RulesetName
fn clone(&self) -> RulesetName
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 RulesetName
impl Debug for RulesetName
Source§impl Display for RulesetName
impl Display for RulesetName
impl Eq for RulesetName
Source§impl<'ʄ> Facet<'ʄ> for RulesetName
impl<'ʄ> Facet<'ʄ> for RulesetName
Source§impl From<&RulesetName> for String
impl From<&RulesetName> for String
Source§fn from(value: &RulesetName) -> Self
fn from(value: &RulesetName) -> Self
Converts to this type from the input type.
Source§impl Ord for RulesetName
impl Ord for RulesetName
Source§fn cmp(&self, other: &RulesetName) -> Ordering
fn cmp(&self, other: &RulesetName) -> 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 RulesetName
impl PartialEq for RulesetName
Source§impl PartialOrd for RulesetName
impl PartialOrd for RulesetName
impl StructuralPartialEq for RulesetName
Auto Trait Implementations§
impl Freeze for RulesetName
impl RefUnwindSafe for RulesetName
impl Send for RulesetName
impl Sync for RulesetName
impl Unpin for RulesetName
impl UnsafeUnpin for RulesetName
impl UnwindSafe for RulesetName
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.