pub struct KeyEntry {
pub secret: String,
pub alias: Option<String>,
}Expand description
A stored key entry from the keys file
Fields§
§secret: StringThe raw identity token (for example nsec, npub, or hex)
alias: Option<String>Optional alias/petname
Trait Implementations§
Auto Trait Implementations§
impl Freeze for KeyEntry
impl RefUnwindSafe for KeyEntry
impl Send for KeyEntry
impl Sync for KeyEntry
impl Unpin for KeyEntry
impl UnsafeUnpin for KeyEntry
impl UnwindSafe for KeyEntry
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