pub struct WordPressTaxonomySlug(/* private fields */);Implementations§
Source§impl WordPressTaxonomySlug
impl WordPressTaxonomySlug
pub fn new(input: &str) -> Result<WordPressTaxonomySlug, WordPressError>
pub fn as_str(&self) -> &str
Trait Implementations§
Source§impl Clone for WordPressTaxonomySlug
impl Clone for WordPressTaxonomySlug
Source§fn clone(&self) -> WordPressTaxonomySlug
fn clone(&self) -> WordPressTaxonomySlug
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 WordPressTaxonomySlug
impl Debug for WordPressTaxonomySlug
Source§impl Display for WordPressTaxonomySlug
impl Display for WordPressTaxonomySlug
Source§impl FromStr for WordPressTaxonomySlug
impl FromStr for WordPressTaxonomySlug
Source§type Err = WordPressError
type Err = WordPressError
The associated error which can be returned from parsing.
Source§fn from_str(
input: &str,
) -> Result<WordPressTaxonomySlug, <WordPressTaxonomySlug as FromStr>::Err>
fn from_str( input: &str, ) -> Result<WordPressTaxonomySlug, <WordPressTaxonomySlug as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for WordPressTaxonomySlug
impl Hash for WordPressTaxonomySlug
Source§impl Ord for WordPressTaxonomySlug
impl Ord for WordPressTaxonomySlug
Source§fn cmp(&self, other: &WordPressTaxonomySlug) -> Ordering
fn cmp(&self, other: &WordPressTaxonomySlug) -> 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
Source§impl PartialEq for WordPressTaxonomySlug
impl PartialEq for WordPressTaxonomySlug
Source§fn eq(&self, other: &WordPressTaxonomySlug) -> bool
fn eq(&self, other: &WordPressTaxonomySlug) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for WordPressTaxonomySlug
impl PartialOrd for WordPressTaxonomySlug
impl Eq for WordPressTaxonomySlug
impl StructuralPartialEq for WordPressTaxonomySlug
Auto Trait Implementations§
impl Freeze for WordPressTaxonomySlug
impl RefUnwindSafe for WordPressTaxonomySlug
impl Send for WordPressTaxonomySlug
impl Sync for WordPressTaxonomySlug
impl Unpin for WordPressTaxonomySlug
impl UnsafeUnpin for WordPressTaxonomySlug
impl UnwindSafe for WordPressTaxonomySlug
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