pub struct ClassificationLabel(pub String);Expand description
A classification label produced by a scheme’s policy.
The reference stack uses: unverified, basic, verified,
attested, certified, rejected; schemes may define their own.
Tuple Fields§
§0: StringImplementations§
Trait Implementations§
Source§impl Clone for ClassificationLabel
impl Clone for ClassificationLabel
Source§fn clone(&self) -> ClassificationLabel
fn clone(&self) -> ClassificationLabel
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 ClassificationLabel
impl Debug for ClassificationLabel
Source§impl<'de> Deserialize<'de> for ClassificationLabel
impl<'de> Deserialize<'de> for ClassificationLabel
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 ClassificationLabel
Source§impl Ord for ClassificationLabel
impl Ord for ClassificationLabel
Source§fn cmp(&self, other: &ClassificationLabel) -> Ordering
fn cmp(&self, other: &ClassificationLabel) -> 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 ClassificationLabel
impl PartialEq for ClassificationLabel
Source§fn eq(&self, other: &ClassificationLabel) -> bool
fn eq(&self, other: &ClassificationLabel) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ClassificationLabel
impl PartialOrd for ClassificationLabel
Source§impl Serialize for ClassificationLabel
impl Serialize for ClassificationLabel
impl StructuralPartialEq for ClassificationLabel
Auto Trait Implementations§
impl Freeze for ClassificationLabel
impl RefUnwindSafe for ClassificationLabel
impl Send for ClassificationLabel
impl Sync for ClassificationLabel
impl Unpin for ClassificationLabel
impl UnsafeUnpin for ClassificationLabel
impl UnwindSafe for ClassificationLabel
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