pub enum AuthorityLevel {
Unknown,
Low,
Medium,
High,
Canonical,
}Variants§
Implementations§
Source§impl AuthorityLevel
impl AuthorityLevel
Sourcepub const fn name(self) -> &'static str
pub const fn name(self) -> &'static str
A stable string name for the level, matching its serde representation. Use this — not
format!("{self:?}") — anywhere the name is persisted or becomes a query key (e.g. the
Parquet export’s authority column), so a future Debug change cannot silently break
downstream consumers.
Trait Implementations§
Source§impl Clone for AuthorityLevel
impl Clone for AuthorityLevel
Source§fn clone(&self) -> AuthorityLevel
fn clone(&self) -> AuthorityLevel
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 moreimpl Copy for AuthorityLevel
Source§impl Debug for AuthorityLevel
impl Debug for AuthorityLevel
Source§impl<'de> Deserialize<'de> for AuthorityLevel
impl<'de> Deserialize<'de> for AuthorityLevel
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AuthorityLevel
Source§impl Ord for AuthorityLevel
impl Ord for AuthorityLevel
Source§fn cmp(&self, other: &AuthorityLevel) -> Ordering
fn cmp(&self, other: &AuthorityLevel) -> 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 AuthorityLevel
impl PartialEq for AuthorityLevel
Source§fn eq(&self, other: &AuthorityLevel) -> bool
fn eq(&self, other: &AuthorityLevel) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for AuthorityLevel
impl PartialOrd for AuthorityLevel
Source§impl Serialize for AuthorityLevel
impl Serialize for AuthorityLevel
impl StructuralPartialEq for AuthorityLevel
Auto Trait Implementations§
impl Freeze for AuthorityLevel
impl RefUnwindSafe for AuthorityLevel
impl Send for AuthorityLevel
impl Sync for AuthorityLevel
impl Unpin for AuthorityLevel
impl UnsafeUnpin for AuthorityLevel
impl UnwindSafe for AuthorityLevel
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