pub struct Identity {
pub name: IdentityName,
pub path: PathBuf,
pub active: bool,
pub broken: bool,
}Expand description
An identity entry in the manager directory.
Fields§
§name: IdentityNameIdentity name.
path: PathBufStorage path.
active: boolWhether this identity is selected by auth.json.
broken: boolWhether this identity entry exists but is unusable.
Trait Implementations§
impl Eq for Identity
impl StructuralPartialEq for Identity
Auto Trait Implementations§
impl Freeze for Identity
impl RefUnwindSafe for Identity
impl Send for Identity
impl Sync for Identity
impl Unpin for Identity
impl UnsafeUnpin for Identity
impl UnwindSafe for Identity
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