Enum NextJsMetadataKind
pub enum NextJsMetadataKind {
StaticMetadata,
GeneratedMetadata,
FileBasedMetadata,
}Expand description
Next.js metadata-kind labels.
Variants§
Implementations§
§impl NextJsMetadataKind
impl NextJsMetadataKind
Trait Implementations§
§impl Clone for NextJsMetadataKind
impl Clone for NextJsMetadataKind
§fn clone(&self) -> NextJsMetadataKind
fn clone(&self) -> NextJsMetadataKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for NextJsMetadataKind
impl Debug for NextJsMetadataKind
§impl Display for NextJsMetadataKind
impl Display for NextJsMetadataKind
§impl FromStr for NextJsMetadataKind
impl FromStr for NextJsMetadataKind
§type Err = NextJsRouteError
type Err = NextJsRouteError
The associated error which can be returned from parsing.
§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 more§impl Hash for NextJsMetadataKind
impl Hash for NextJsMetadataKind
§impl Ord for NextJsMetadataKind
impl Ord for NextJsMetadataKind
§fn cmp(&self, other: &NextJsMetadataKind) -> Ordering
fn cmp(&self, other: &NextJsMetadataKind) -> Ordering
1.21.0 · 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
§impl PartialEq for NextJsMetadataKind
impl PartialEq for NextJsMetadataKind
§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