pub struct KeysState {
pub list: Vec<SshKeyInfo>,
pub list_state: ListState,
pub activity: KeyActivityLog,
pub push: KeyPushState,
}Fields§
§list: Vec<SshKeyInfo>Discovered SSH key files under ~/.ssh/. Populated by
ssh_keys::discover_keys at startup, after host reloads, and
after successful pushes. Empty until first discover completes.
list_state: ListStateCursor in the Keys-tab master pane. select() index matches
either list directly or filtered_key_indices(list, query)
when a search query is active (translation happens at use sites).
activity: KeyActivityLogPersistent per-alias activity log. Loaded once at startup,
appended on every connect, flushed to ~/.purple/key_activity.json.
Drives the activity chart and last-touch hints in the Keys tab.
push: KeyPushStatePush (ssh-copy-id equivalent) run state.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for KeysState
impl !RefUnwindSafe for KeysState
impl Send for KeysState
impl Sync for KeysState
impl Unpin for KeysState
impl UnsafeUnpin for KeysState
impl !UnwindSafe for KeysState
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more