pub struct PluginName(/* private fields */);Expand description
A validated plugin name (§5.5): 1–64 characters of a-z, 0-9, -, .;
alphanumeric at both ends; no -- or .. runs.
Implementations§
Trait Implementations§
Source§impl AsRef<str> for PluginName
impl AsRef<str> for PluginName
Source§impl Clone for PluginName
impl Clone for PluginName
Source§impl Debug for PluginName
impl Debug for PluginName
Source§impl Display for PluginName
impl Display for PluginName
impl Eq for PluginName
Source§impl FromStr for PluginName
impl FromStr for PluginName
Source§impl Hash for PluginName
impl Hash for PluginName
Source§impl Ord for PluginName
impl Ord for PluginName
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 PluginName
impl PartialEq for PluginName
Source§impl PartialEq<str> for PluginName
impl PartialEq<str> for PluginName
Source§impl PartialOrd for PluginName
impl PartialOrd for PluginName
impl StructuralPartialEq for PluginName
Auto Trait Implementations§
impl Freeze for PluginName
impl RefUnwindSafe for PluginName
impl Send for PluginName
impl Sync for PluginName
impl Unpin for PluginName
impl UnsafeUnpin for PluginName
impl UnwindSafe for PluginName
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.