Skip to main content

const_str_eq

Function const_str_eq 

Source
pub const fn const_str_eq(a: &str, b: &str) -> bool
Expand description

Compare two strings in const context.

Used by generated code to verify at compile time that #[column(pg_enum = "...")] matches the ValueObject’s #[value_object(pg_type = "...")] declaration.