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 Forget for KeyEntry
impl Freeze for KeyEntry
impl Move for KeyEntry
impl RefUnwindSafe for KeyEntry
impl Send for KeyEntrywhere
RawVecInner: Send,
impl Sync for KeyEntrywhere
RawVecInner: Sync,
impl Unpin for KeyEntry
impl UnsafeUnpin for KeyEntry
impl UnwindSafe for KeyEntrywhere
RawVecInner: UnwindSafe,
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