pub struct CredentialStatusItem<'a> {
pub label: &'a str,
pub value: &'a str,
pub kind: FeedbackKind,
pub status_label: &'a str,
}Fields§
§label: &'a str§value: &'a str§kind: FeedbackKind§status_label: &'a strImplementations§
Source§impl<'a> CredentialStatusItem<'a>
impl<'a> CredentialStatusItem<'a>
pub const fn new( label: &'a str, value: &'a str, kind: FeedbackKind, status_label: &'a str, ) -> Self
pub const fn ok(label: &'a str, value: &'a str) -> Self
pub const fn warn(label: &'a str, value: &'a str) -> Self
pub const fn error(label: &'a str, value: &'a str) -> Self
pub const fn info(label: &'a str, value: &'a str) -> Self
pub fn kind_class(&self) -> String
Trait Implementations§
Source§impl<'a> Clone for CredentialStatusItem<'a>
impl<'a> Clone for CredentialStatusItem<'a>
Source§fn clone(&self) -> CredentialStatusItem<'a>
fn clone(&self) -> CredentialStatusItem<'a>
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<'a> Debug for CredentialStatusItem<'a>
impl<'a> Debug for CredentialStatusItem<'a>
Source§impl<'a> PartialEq for CredentialStatusItem<'a>
impl<'a> PartialEq for CredentialStatusItem<'a>
Source§fn eq(&self, other: &CredentialStatusItem<'a>) -> bool
fn eq(&self, other: &CredentialStatusItem<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'a> Copy for CredentialStatusItem<'a>
impl<'a> Eq for CredentialStatusItem<'a>
impl<'a> StructuralPartialEq for CredentialStatusItem<'a>
Auto Trait Implementations§
impl<'a> Freeze for CredentialStatusItem<'a>
impl<'a> RefUnwindSafe for CredentialStatusItem<'a>
impl<'a> Send for CredentialStatusItem<'a>
impl<'a> Sync for CredentialStatusItem<'a>
impl<'a> Unpin for CredentialStatusItem<'a>
impl<'a> UnsafeUnpin for CredentialStatusItem<'a>
impl<'a> UnwindSafe for CredentialStatusItem<'a>
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