pub enum WordPressMetadataKind {
PluginHeader,
ThemeField,
PostType,
Taxonomy,
Capability,
RestRoute,
}Expand description
WordPress primitive metadata kind.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for WordPressMetadataKind
impl Clone for WordPressMetadataKind
Source§fn clone(&self) -> WordPressMetadataKind
fn clone(&self) -> WordPressMetadataKind
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 WordPressMetadataKind
impl Debug for WordPressMetadataKind
Source§impl Hash for WordPressMetadataKind
impl Hash for WordPressMetadataKind
Source§impl Ord for WordPressMetadataKind
impl Ord for WordPressMetadataKind
Source§fn cmp(&self, other: &WordPressMetadataKind) -> Ordering
fn cmp(&self, other: &WordPressMetadataKind) -> 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 WordPressMetadataKind
impl PartialEq for WordPressMetadataKind
Source§fn eq(&self, other: &WordPressMetadataKind) -> bool
fn eq(&self, other: &WordPressMetadataKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for WordPressMetadataKind
impl PartialOrd for WordPressMetadataKind
impl Copy for WordPressMetadataKind
impl Eq for WordPressMetadataKind
impl StructuralPartialEq for WordPressMetadataKind
Auto Trait Implementations§
impl Freeze for WordPressMetadataKind
impl RefUnwindSafe for WordPressMetadataKind
impl Send for WordPressMetadataKind
impl Sync for WordPressMetadataKind
impl Unpin for WordPressMetadataKind
impl UnsafeUnpin for WordPressMetadataKind
impl UnwindSafe for WordPressMetadataKind
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