Struct ssh_key::authorized_keys::Entry
source · pub struct Entry { /* private fields */ }Expand description
Individual entry in an authorized_keys file containing a single public key.
Implementations§
source§impl Entry
impl Entry
sourcepub fn config_opts(&self) -> &ConfigOpts
Available on crate feature alloc only.
pub fn config_opts(&self) -> &ConfigOpts
alloc only.Get configuration options for this entry.
sourcepub fn public_key(&self) -> &PublicKey
pub fn public_key(&self) -> &PublicKey
Get public key for this entry.
Trait Implementations§
source§impl From<Entry> for ConfigOpts
Available on crate feature alloc only.
impl From<Entry> for ConfigOpts
Available on crate feature
alloc only.source§fn from(entry: Entry) -> ConfigOpts
fn from(entry: Entry) -> ConfigOpts
Converts to this type from the input type.