pub enum PostureDelta {
Improved,
Worsened,
ReviewRequired,
Unchanged,
}Expand description
Canonical posture quality delta for a retained ledger entry or finding.
Variants§
Implementations§
Source§impl PostureDelta
impl PostureDelta
pub const ALL: &[Self]
pub const fn field_name(self) -> &'static str
pub const fn display_label(self) -> &'static str
pub const fn as_str(self) -> &'static str
pub fn parse_field_name(value: &str) -> Option<Self>
Trait Implementations§
Source§impl Clone for PostureDelta
impl Clone for PostureDelta
Source§fn clone(&self) -> PostureDelta
fn clone(&self) -> PostureDelta
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 PostureDelta
Source§impl Debug for PostureDelta
impl Debug for PostureDelta
Source§impl Display for PostureDelta
impl Display for PostureDelta
impl Eq for PostureDelta
Source§impl FromStr for PostureDelta
impl FromStr for PostureDelta
Source§impl Hash for PostureDelta
impl Hash for PostureDelta
Source§impl Ord for PostureDelta
impl Ord for PostureDelta
Source§fn cmp(&self, other: &PostureDelta) -> Ordering
fn cmp(&self, other: &PostureDelta) -> 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 PostureDelta
impl PartialEq for PostureDelta
Source§impl PartialOrd for PostureDelta
impl PartialOrd for PostureDelta
impl StructuralPartialEq for PostureDelta
Auto Trait Implementations§
impl Freeze for PostureDelta
impl RefUnwindSafe for PostureDelta
impl Send for PostureDelta
impl Sync for PostureDelta
impl Unpin for PostureDelta
impl UnsafeUnpin for PostureDelta
impl UnwindSafe for PostureDelta
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