pub enum NextJsMetadataKind {
StaticMetadata,
GeneratedMetadata,
FileBasedMetadata,
}Expand description
Next.js metadata-kind labels.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for NextJsMetadataKind
impl Clone for NextJsMetadataKind
Source§fn clone(&self) -> NextJsMetadataKind
fn clone(&self) -> NextJsMetadataKind
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 NextJsMetadataKind
impl Debug for NextJsMetadataKind
Source§impl Display for NextJsMetadataKind
impl Display for NextJsMetadataKind
Source§impl FromStr for NextJsMetadataKind
impl FromStr for NextJsMetadataKind
Source§type Err = NextJsRouteError
type Err = NextJsRouteError
The associated error which can be returned from parsing.
Source§fn from_str(
input: &str,
) -> Result<NextJsMetadataKind, <NextJsMetadataKind as FromStr>::Err>
fn from_str( input: &str, ) -> Result<NextJsMetadataKind, <NextJsMetadataKind as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for NextJsMetadataKind
impl Hash for NextJsMetadataKind
Source§impl Ord for NextJsMetadataKind
impl Ord for NextJsMetadataKind
Source§fn cmp(&self, other: &NextJsMetadataKind) -> Ordering
fn cmp(&self, other: &NextJsMetadataKind) -> 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 NextJsMetadataKind
impl PartialEq for NextJsMetadataKind
Source§fn eq(&self, other: &NextJsMetadataKind) -> bool
fn eq(&self, other: &NextJsMetadataKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for NextJsMetadataKind
impl PartialOrd for NextJsMetadataKind
impl Copy for NextJsMetadataKind
impl Eq for NextJsMetadataKind
impl StructuralPartialEq for NextJsMetadataKind
Auto Trait Implementations§
impl Freeze for NextJsMetadataKind
impl RefUnwindSafe for NextJsMetadataKind
impl Send for NextJsMetadataKind
impl Sync for NextJsMetadataKind
impl Unpin for NextJsMetadataKind
impl UnsafeUnpin for NextJsMetadataKind
impl UnwindSafe for NextJsMetadataKind
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